Not able to use colors(TextColor,BGColor) and styles(Font,FontSize) in toolbar
Question
Hi artf,
I am adding colors and styles section in toolbar. I am able to see other sections but not colors and styles in the editor.
"gjs-plugin-ckeditor": { position: "center", options: { toolbar: [ { name: 'styles', items: ['Font', 'FontSize'] }, { name: 'basicstyles', items: ['Bold', 'Italic', 'Strike', '-', 'RemoveFormat'] }, { name: 'links', items: ['Link', 'Unlink'] }, { name: 'colors', items: ['TextColor', 'BGColor'] } ] } },
Am I doing anything wrong in the above code. Can you help me out with this? @artf
Thanks in advance.
Answers (1)
This is not related to the GrapesJS core library and probably not even the plugin. Check the CKEditor documentation please (you might missing some plugin)
Related Questions and Answers
Continue research with similar issue discussions.
Issue #2610
Style gets lost on deselecting a component when using rte.exec method
Hi @artf, When setting the backcolor/forecolor (or any other formatting like fontsize, etc) using the RichTextEditor toolbar, the formattin...
Issue #1884
Positioning Rich Text Editor where rte.selection() is located
I would like to be able to position the Rich Text Editor toolbar right above the text a user highlights inside of a div/textarea/etc. The r...
Issue #1570
Not able to customize the Export Plugin options
Hi @artf, I tried to customize the options in the grapesjs editor export plugin. But only two options(addExportBtn, btnLabel) works as expe...
Issue #2824
Dragging items do not position on intital drag?
So when I drag a component/item from the bar to the center it will not go where I told it to go... IT always goes about 20% page width to o...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.