Copied to clipboard

Flag this post as spam?

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


  • trfletch 598 posts 604 karma points
    Mar 06, 2013 @ 18:40
    trfletch
    0

    TinyMCE custom popup or split button

    Hi,

    I am building an Umbraco 4.11.4 website and I want to add a custom popup to TinyMCE. I have a list of nodes in Umbraco and I want to be able to click on a custom button in the TinyMCE which will bring up a pop-up with a dropdown list that lists out the node names as mention above. When you select one of the nodes and click an "Insert" button it will insert into the text editor (where the cursor is) the name of the node selected.

    Ideally I would also like the ability within the popup to create a node in the list if it doesn't already exist in the dropdown. The reason for this is so that I can have a global list of abbreviations that a user can easily add to the text (and they have the option to add an abbreviation if it is not already in the list).

    Does anyone know if this is possible and if so how would I go about doing it? I have already added a custom button to TinyMCE that will insert some custom text where the cursor is but I need help with the showing of a pop-up, binding a dropdown list of nodes and the ability create new nodes in the list (I know how to do this using C# so ideally if the modal could show an aspx page).

    Regards
    Tony

Please Sign in or register to post replies

Write your reply to:

Draft