Copied to clipboard

Flag this post as spam?

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


  • bob 19 posts 39 karma points
    Jan 17, 2016 @ 10:52
    bob
    0

    TinyMCE with image caption using Umbraco v6.2.5

    Hi I am trying to implement the new image caption feature of tinyMCE 4.3 -https://goo.gl/OoDcyq

    To implement I have downloaded the files from https://goo.gl/YXWL7y and have overwritten the existing TinyMCE files in ~/Umbraco_Client/Tinymce3/Plugins/caption (caption being the new folder) to update the TinyMCE version in my Umbraco v6.2.5 backend (suggested by an independant Umbraco source).

    In tinyMceConfig.config i have added the following lines -

    <command>
          <umbracoAlias>mceCaption</umbracoAlias>
          <icon>images/editor/myimage.gif</icon>
          <tinyMceCommand value="" userInterface="true" frontendCommand="mceCaption">caption</tinyMceCommand>
          <priority>76</priority>
        </command>
    

    and in the plugins section of the same file -

     <plugin loadOnFrontend="false">caption</plugin>
    

    I am stuck on this step i.e where to initialize the plugin using the following code

    tinymce.init({
      selector: "textarea",  // change this value according to your HTML
      plugins: "image",
      menubar: "insert",
      toolbar: "image",
      image_caption: true
    });
    

    Any suggestions as at present the Rich Text Editor does not show in the backoffice.

    Any help is much appreciated.

Please Sign in or register to post replies

Write your reply to:

Draft