You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm trying to build an editor based on Quill. In my business, sometimes I need to dynamically format the content in the editor. These formatted areas may overlap or even nest.
I'm customizing some blots and I've found that when their regions are nested, the reformat operation can mess up the positioning of some of the text.
Hi, I'm trying to build an editor based on Quill. In my business, sometimes I need to dynamically format the content in the editor. These formatted areas may overlap or even nest.
I'm customizing some blots and I've found that when their regions are nested, the reformat operation can mess up the positioning of some of the text.
I made a demo that can reproduce the problem: https://codesandbox.io/p/sandbox/gqxsl9
The effect is shown in the following animation.
The red background, green text, and underlined text represent three custom blots respectively.
What is the problem? Is it a bug or is it because I didn't define the blots correctly? Thanks!
The full code is available in the CodeSandbox link above, and I've copied the main code below.
App.js
blots.js
styles.css
The text was updated successfully, but these errors were encountered: