Hi,
I want a plugin to create markup which only shows during editing, but not when saving. I tried to understand how is this done with the spell check-as-you-type plugin and I completely lost track. I have two options:
1) Create spans with a class="myClass" and define a css file (with the config.contentCss property) defining that this class should have a background of X - as this css will not be part of the generated document, it will print without the background. The problem here is that I still get some (mostly harmless) spans in the end document.
2) Find a way to remove those spans during document saving. Is there an API to do that in CKEditor or will I just have to parse the string and manually remove the spans on the server, right before saving?
Cheers