Issue #2272Opened September 17, 2019by adriangroch0 reactions

[BUG] `textable` component disappears with custom RTE

Question

  1. Are you using the latest release (older versions are NOT supported)? Yes

  2. Are you facing the bug with your local copy of GrapesJS or with the current demo? Current demo & local, also using the CKEditor plugin

  3. What is the expected behavior? When a textable component, e.g. #481 Merge field is dragged into a text area (i.e. paragraph, heading), it renders accordingly (as it would without the custom RTE)

  4. What happens instead? The component disappears

  5. If you're able to reproduce the bug indicate all the necessary steps

  • Add the grapesjs-ckeditor-plugin
  • Add a textable component to the canvas
  • Drag into an area that the RTE has usage in

Attach screenshots (using KAP/LICEcap), screencasts or live demo Here is the working component with the default RTE showing the functionality of the textable component: Alt

Now here it is (disappearing) with the grapesjs-ckeditor-plugin: Alt

Working JS-Fiddle with grapesjs-plugin-ckeditor and the component from #481 : https://jsfiddle.net/2egpdhtb/7/

Answers (1)

artfSeptember 25, 20190 reactions

Hi @adriangroch thanks for the report but unfortunately it's not a bug, it's just not possible, currently, having components (textable in this case) inside a custom RTE. Each RTE has its own implementation and we can't ensure correct usage of external elements (in this case out components) inside them

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.