Copied to clipboard

Flag this post as spam?

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


  • MB 113 posts 422 karma points
    Dec 04, 2019 @ 03:35
    MB
    0

    Umbraco-7 BackOffice - Extend TinyMCE options

    I want to tweak the RTE image plugin to add the TinyMCE option of offering the user a 'Caption' field when they insert an image, which then turns it into a figure/figcaption block.

    The standard way of doing this it to subscribe to the tinymceinit event and specify a imagecaption="true" parameter, but I don't know how to apply this via the tinyMceConfig.config file, or what the RTE instance is to attack if from a backoffice customisation js file.

    Any/all input appreciated.

  • Alex Skrypnyk 6175 posts 24176 karma points MVP 8x admin c-trib
    Dec 16, 2019 @ 00:07
    Alex Skrypnyk
    0

    Hi MB

    Can you share with our community if you have any success with this task?

    Alex

  • MB 113 posts 422 karma points
    Dec 16, 2019 @ 00:34
    MB
    0

    I wasted a bit of time on this and decided it wasn't possible from the Umbraco configuration and/or backoffice API alone.

    I think that the correct solution is here: https://github.com/umbraco/Umbraco-CMS/pull/5607

Please Sign in or register to post replies

Write your reply to:

Draft