Copied to clipboard

Flag this post as spam?

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


  • Amigo 231 posts 506 karma points
    Mar 17, 2011 @ 15:17
    Amigo
    0

    TinyMCE in a usercontrol

    How can i use the TinyMCE editor in a usercontrol ?

     

  • Amigo 231 posts 506 karma points
    Mar 17, 2011 @ 16:23
    Amigo
    1

    ok its easy:

    <script type="text/javascript" src="/umbraco_client/tinymce3/tiny_mce_src.js"></script>
    <script type="text/javascript">
        tinyMCE.init({
            // General options
            mode: "textareas",
            theme: "advanced",
            plugins: "",

            // Theme options
            theme_advanced_buttons1: "bold,italic,underline,strikethrough,|,formatselect,|,bullist,numlist,|,link,unlink,image",
            theme_advanced_buttons2: "",
            theme_advanced_buttons3: "",
         
            theme_advanced_toolbar_location: "top",
            theme_advanced_toolbar_align: "left",
           
            theme_advanced_resizing: false
        });
    </script>

  • Paul A 133 posts 368 karma points
    Jan 19, 2012 @ 00:03
    Paul A
    0

    Huge thanks for coming back and putting the code it... I had no clue how I was going to do this. Cheers!

    I did this to get rid of 'potenial dangerous' blah blah error message.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies