Skip to content

Commit bff2228

Browse files
committed
ACP2E-3483: TinyMCE 7 editor font size in the admin in PT and not PX please clarify
1 parent b3529c9 commit bff2228

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/PageBuilder/Model/Wysiwyg/DefaultConfigProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function getConfig(DataObject $config): DataObject
4545
$config->addData(
4646
[
4747
'tinymce' => [
48-
'toolbar' => 'undo redo | styles | fontfamily fontsize | lineheight | forecolor backcolor ' .
48+
'toolbar' => 'undo redo | styles | fontfamily fontsizeinput | lineheight | forecolor backcolor ' .
4949
'| bold italic underline | alignleft aligncenter alignright | numlist bullist ' .
5050
'| link image table charmap',
5151

app/code/Magento/PageBuilder/Test/Unit/Model/Wysiwyg/DefaultConfigProviderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ public function testGetConfig(): void
3737
$config = new DataObject();
3838
$configProvider = new DefaultConfigProvider($this->assetRepo, []);
3939
$result = $configProvider->getConfig($config);
40-
$this->assertStringContainsString('fontfamily fontsize', $result->getTinymce()['toolbar']);
40+
$this->assertStringContainsString('fontfamily fontsizeinput', $result->getTinymce()['toolbar']);
4141
}
4242
}

0 commit comments

Comments
 (0)