Copied to clipboard

Flag this post as spam?

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


  • crono 58 posts 129 karma points
    Oct 28, 2014 @ 09:36
    crono
    0

    Custom backend tinymce with mediapicker

    Hi guys :)

    I'm trying to get the Umbraco media picker plugin to work in a custom tinymce, but having difficulty figuring out how - this is how tinymce gets initialized:

     tinymce.init({
                    selector: ".editable",
                    inline: true,
                    menubar: false,
                    mode: "none",
                    fixed_toolbar_container: "#rtetoolbar",
                    plugins: [
                        "advlist autolink lists link image charmap print preview anchor",
                        "searchreplace visualblocks code fullscreen",
                        "insertdatetime media table contextmenu paste umbmediapicker bktemplates bktags"
                    ],
                    toolbar: "code undo redo cut bold italic alignleft aligncenter alignright bullist numlist link umbmediapicker umbmacro table umbembeddialog bktemplates bktags" //"insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image"
                });

    I see the plugins in the lib/tinymce/plugins folder, but all the Umbraco ones do not have a plugin.min.js file (copying and renaming the editor_plugin.js didn'y work :P)

    So, how would I go about this?

Please Sign in or register to post replies

Write your reply to:

Draft