Does anyone know how I could apply a style to the current selection using a 
<span> element with a class attribute?  I'd be looking for some kind of 
script that works analogously to document.execCommand ("bold", false, ""), 
ideally with a query function that returns whether or not it is applied to 
the current selection.  Any ideas?  Has anyone implemented this? 


_______________________________________________
dev-tech-editor mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-editor

Reply via email to