Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Sandeep 2 posts 72 karma points
    Jan 19, 2016 @ 08:05

    Tinymce applies heading style to whole paragraph, not only selected text

    I have written couple of paragraphs of text, and I want to select some of it and make it a heading (Heading 2 style, strong, etc), the whole text gets that heading style, not only the text I have selected.

    This is not happening when I want to apply bolding by clicking b icon in tinymce editor - in this case it works as expected; only the selected text becomes bolded.

    How can I change this behavior?

  • Rasmus Eeg 91 posts 457 karma points c-trib
    Jan 19, 2016 @ 09:11
    Rasmus Eeg

    It depends on how your format is set.


    Replaces the <p> with <span class="unicial">


    Wraps the selected text in a <span class="unicial">

    To clearyfi - classes only are applied to selected text

    while element and class is replacing selected parent element.

    Best Regards Rasmus

Please Sign in or register to post replies

Write your reply to: