Copied to clipboard

Flag this post as spam?

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


  • MB 71 posts 267 karma points
    May 22, 2019 @ 00:13
    MB
    0

    TinyMCE custom wrapper style

    I've been asked to create some wrapper styles for the RT-Editor and add them to the 'Formats' dropdown.

    A wrapper style should do as the name suggests - wrap the selected text inside a specified container/class/style tag.

    Specifically at the moment, content editors want to be able to select a group of paragraphs, and mark them to be wrapped inside a div that applies a 'multi-column' layout style - e.g. column-count:2 or column-count:3 etc.

    I know that TinyMCE can do wrapper styles, but haven't worked out how to apply this via the Umbraco config options.

    Anyone managed to do this before?

Please Sign in or register to post replies

Write your reply to:

Draft