• Resolved melet

    (@melet)


    Hello!
    First of all thank you for a nice plugin.

    I have a couple of questions. Noticed that when selecting nondefault font family TinyMCE adds inline css:

    <span style=”font-family: comic\ sans\ ms, sans-serif; font-size: 14pt;”>example text</span>

    1. What for are backslashes? Never seen such a notation before.
    2. How can I get rid of them? wp_kses() remove whole style because of them.

    Thank you in advance

    p.s. I understand that issue is possibly in base TinyMCE

    • This topic was modified 8 years ago by melet.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Andrew Ozz

    (@azaozz)

    Hmmm, I’ve never seen backslashes there either. it is definitely a bug, just not sure where it may be coming from. Any chance it is a browser addon/extension?

    Thread Starter melet

    (@melet)

    I cannot reproduce this issue now. May be update have helped.. Btw this issue appeared on two laptops.
    I resolve this ticket

    • This reply was modified 7 years, 11 months ago by melet.
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Font Family inline style issue’ is closed to new replies.