Is there the way to change default font type and size for text elements for grapes js html editor?
Currently afetr adding text is uses some ‘Default’ values for them and it needed to change them every time for all elements if it requires to use another font settings for whole page.
You can create your own custom text block with blocks API GitHub - cuba-platform/grapesjs-addon: GrapesJs HTML editor add-on for CUBA application. Built on GrapeJs javascript library with webpage preset. and hide default text block via disabledBlocks
tag. for example
<et:grapesJsHtmlEditor id="htmlEditor">
<et:disabledBlocks>
text
</et:disabledBlocks>
</et:grapesJsHtmlEditor>
Regards,
Evgeny