-
Notifications
You must be signed in to change notification settings - Fork 52
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
Issues if richtext Text node is shown in two editor cells. #769
Comments
I've tested it with a simple editor with two text nodes as in the example and I can't reproduce those issues. For me, it sounds like you are using the query list language and are showing the same node multiple times in the same editor. Then it is a known limitation that can only be influenced but not fixed by the duplicates safe property. The reason why it happens in those cases is that in some situations, the big cell (= top-most cell) of a node is queried from the editor component instead of direct usages of the correct editor cell. It always finds the cell for the second node and not the first one, that's why all the actions are working for the second text node. If you are sure that it is a problem in the richtext language, you have to provide me with a sample project, so I can check it out. |
Querylist is not involved in this problem. A made a small example. Version info: The plugin "MPS Richtext Editor Component" is from the Marketplace i.e. in the "Downloaded" section of installed plugins and enabled. I disabled all plugins except the dependencies of MPS Richtext and created a dummy concept. You can see the editor in the screenshot.
Observations:
|
Example project as a zip file. Concept definition:
Editor:
|
I just checked the implementation. To summarize in case we want to fix this:
|
If a richtext Text node is shown in two cells, all sorts of problems appear.
A simple case to reproduce is in a collection with just the Text nodes:
Found in MPS-richtext 2022.2.
The text was updated successfully, but these errors were encountered: