grapesjs icon indicating copy to clipboard operation
grapesjs copied to clipboard

How to use CKEditor/TinyMC editor instead of RichTextEditor inside GrapesJs

Open hemanthmc opened this issue 7 years ago • 9 comments

I need to add text styles and other text options so how to add CKEditor/TinyMC editor instead of RichTextEditor inside GrapesJs.

hemanthmc avatar Jan 30 '19 07:01 hemanthmc

You can check "Replace the built-in Rich Text Editor" in GrapesJS doc here And there is a GrapesJS CKEditor plugin.

ronaldaug avatar Jan 30 '19 09:01 ronaldaug

You can check "Replace the built-in Rich Text Editor" in GrapesJS doc here And there is a GrapesJS CKEditor plugin.

@ronaldaug CK Editors Toolbar is not displaying after adding grapesjs-plugin-ckeditor to my editor. How to enable ToolBar options in it?

hemanthmc avatar Jan 30 '19 10:01 hemanthmc

I think you're missing something. I made a codepen demo here and it just works fine.

You have to add CKEditor & CKEditor Plugin scripts , and set the config options.

ronaldaug avatar Jan 30 '19 12:01 ronaldaug

@ronaldaug Thank you so much for spending your time & answer. I had tried in the same way to integrate GrapesJs in react application. I am using npm packages "ckeditor": "^4.11.2", "grapesjs-plugin-ckeditor": "0.0.9"

but i didn't able to get the CKEDITOR toolbar. i am getting the console error as shown in attached screenshot ckeditorerror

hemanthmc avatar Jan 31 '19 05:01 hemanthmc

@hemanthmc check for errors in your code please, this has nothing to do with GrapesJS or CKEditor

artf avatar Feb 06 '19 00:02 artf

I think you're missing something. I made a codepen demo here and it just works fine.

You have to add CKEditor & CKEditor Plugin scripts , and set the config options.

Hey the CodePen link is not working, Can you please upload it again? Im facing the same problem and it seems like you got the solution :)

Amir2828 avatar Apr 02 '19 08:04 Amir2828

@ronaldaug codpen link is not working. Can you please share your code again. Thanks

umerrinayat avatar Aug 02 '19 08:08 umerrinayat

I think you're missing something. I made a codepen demo here and it just works fine.

You have to add CKEditor & CKEditor Plugin scripts , and set the config options.

@ronaldaug Can you please upload the codepen link again. I am struggling for hours to implement CKEDITOR but getting the error.

shubhd47 avatar Sep 30 '19 11:09 shubhd47

Here a codepen: https://codepen.io/artf/pen/wVdzYK

matteocollina avatar Aug 03 '21 12:08 matteocollina