I've configured CKEditor to use span elements for bold, italics and underline, by redefining the relevant coreStyles_
That works fine - if I apply bold/underline to some text, I get:
What I'd really like is the relevant css consolidated into a single span tag, like so:
I'm a newbie; Is there any infrastructure in the code base to help with this?
thanks .. Jason
That works fine - if I apply bold/underline to some text, I get:
<span style="text-decoration:underline;"><span style="font-weight:bold;">some text</span></span>
What I'd really like is the relevant css consolidated into a single span tag, like so:
<span style="text-decoration:underline;font-weight:bold;">some text</span>
I'm a newbie; Is there any infrastructure in the code base to help with this?
thanks .. Jason
Re: Consolidating <span> @style values
Re: Consolidating <span> @style values
Thanks for your reply; I won't open a ticket for this unless you'd like me to, since I'm now handling it server-side.
Changing the subject, I've noticed that even though I've configured CKEditor to use span elements for bold, italics and underline, by redefining the relevant coreStyles_ , if the user uses the PasteFromWord function, the resulting html contains <b>, <i> and <u>, rather than <span>.
I'd really like PasteFromWord to use my coreStyles_ definitions. Would a new ticket describing this make sense?
thanks
Jason
Re: Consolidating <span> @style values
Hi, we are already working on your requirements, please stay tuned!