we would like to provide our users an option to show formatting symbols (line breaks, non-breaking space, tabs, and so on) in our editor.
We plan to create a plugin that would manage corresponding decorations, e.g. widget decos that add paragraph symbol after paragraphs, inline decos to wrap tab and nbsp characters so they can be styled appropriately, and so on.
Has anyone here attempted to create such a feature already, and can share some tips or even code? Does the above rough description of our plan sound like it’s the proper way to go?