ckeditor / ckeditor5

Powerful rich text editor framework with a modular architecture, modern integrations, and features like collaborative editing.
https://ckeditor.com/ckeditor-5
Other
9.45k stars 3.7k forks source link

Display multiple highlights (markers) on a widget #10334

Open scofalik opened 3 years ago

scofalik commented 3 years ago

📝 Provide a description of the improvement

At the moment, when there are multiple highlights (markers) set on given widget, only one of them is displayed (AFAIR, it depends on converter priority). This means that if, for example, an image has a comment and remove suggestion, only one of them can be displayed.

When it comes to styling, In many cases this makes sense anyway. If we are just changing border color, we are able to show only one of those markers. But in some cases we might mix background + border or just prepare styles for specific class pairs or combinations.

But it is not only about styling. Markers conversion may also add data attributes, on which features may rely. This is lost as well even though we could easily support something like <figure class="..." data-comment="e232" data-suggestion="e763">. However, since there could be multiple values for the same attribute, we would have to think how to handle that.

CKEditorBot commented 1 year ago

There has been no activity on this issue for the past two years. We've marked it as stale and will close it in 30 days. We understand it may be relevant, so if you're interested in the solution, leave a comment or reaction under this issue.

scofalik commented 1 year ago

This is still a valid issue.

CKEditorBot commented 1 week ago

There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may still be relevant, so if you're interested in the solution, leave a comment or reaction under this issue.