Issue #3825Opened September 27, 2021by mingxin-yang2 reactions

BUG: ckeditor wrap and block the text below

Question

GrapesJS version

  • I confirm to use the latest version of GrapesJS

What browser are you using?

Chrome

Reproducible demo link

https://

Describe the bug

If the width of the text component is not very long, the elements on ckeditor will wrap and block the text below image But when you click on the lower part of the component, instead of just above the text, there will be no covering problem image

Code of Conduct

  • I agree to follow this project's Code of Conduct

Answers (3)

ronaldohochOctober 29, 20211 reactions

Hello!

We used this trick to solve the problem for a while:

            editor.on("rte:enable",()=>{
                editor.trigger('canvasScroll');
            });

subscribe to the event rte:enable and trigger the canvasScroll. With this, the grapes will recalculate the position.

mingxin-yangDecember 21, 20211 reactions

@ronaldohoch Thank you, this code work to me

mingxin-yangSeptember 27, 20210 reactions

bugs will also be implemented on this website. https://grapesjs.com/demo-mjml.html image The toolbar in the upper right corner will also be covered

@artf

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.