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.34k stars 3.68k forks source link

Lack of examples on advanced customization #14027

Open Inviz opened 1 year ago

Inviz commented 1 year ago

📝 Provide a description of requested docs changes

I am really struggling with finding example code and guides on more of advanced topics for customization:

1) Downcasting one model element to multiple view elements 2) Handling miscelaneous inline views mixed into content element (handling "model out of bounds", cursor jumping, etc). For example custom "filler" view around the widget 3) efficient use of view post-fixers 4) reconverting block elements based on attribute change that does not break typing (currently elementToElement with attributes on e.g. paragraph messes up with typing) 5) Dealing with standard fillers in general and customizing their behavior. I think this is more of a capability issue, right now even monkeypatching the renderer doesn't offer all the flexibility i'd want (e.g. i dont want to use
sometimes to not mess with the css grid, or nth-child selectors) 6) Using registerViewToModelLength

Witoso commented 1 year ago

As those are advanced features, we would need to think about how to teach them correctly. And also how big is the audience for that to balance well the effort. Food for thought @niegowski.

CKEditorBot commented 4 months 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.

Inviz commented 4 months ago

lol way to go. Most of the issues i opened got shelves and closed like this. Definitely a way to deal with problems.

On Sun, May 5, 2024 at 11:54 AM CKEditor Bot @.***> wrote:

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.

— Reply to this email directly, view it on GitHub https://github.com/ckeditor/ckeditor5/issues/14027#issuecomment-2094571185, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAAVFAVLUVGV3FI72NHS23ZAWUQJAVCNFSM6AAAAAAXVHYONSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJUGU3TCMJYGU . You are receiving this because you authored the thread.Message ID: @.***>