Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Once a DynamicText is added it can break the editor #123

Open
stevejpurves opened this issue Jan 31, 2022 · 1 comment
Open

Once a DynamicText is added it can break the editor #123

stevejpurves opened this issue Jan 31, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@stevejpurves
Copy link
Member

This is difficult to reproduce reliably but when adding dynamic elements to text I have encountered:

  • A dynamic text element is suddenly being replicated twice in the text. This happened on copy-paste of a different adjacent piece of text and (2) when typing a character ahead of a dynamic text.
  • A dynamic text element is inserted at a location when triggering the / menu, after the element appears the editor is not 100% functional. the element inserted was a copy of the last one that I inserted manually. on page refresh the additional element is no longer present.

The following image does not show the issue but shows the piece of text I was working on when I hit these problems (note there are several more dynamic text elements higher up the page)
image

@stevejpurves stevejpurves added the bug Something isn't working label Jan 31, 2022
@rowanc1
Copy link
Member

rowanc1 commented Jan 31, 2022

I think this is chrome+content-editable+webcomponents.

Solution is likely to move away from webcomponents for things that go in the editor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants