Copied to clipboard

Flag this post as spam?

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


  • nojaf 91 posts 300 karma points
    Dec 09, 2013 @ 22:56
    nojaf
    0

    Use TinyMCE inside view

    I'm playing around with this idea to make a property editor where you can enter text in a Rich Text editor and wrap it with a div whose class can be chosen in a dropdown menu (f.ex. a dropdown with bootstrap column classes).

    The dropdown is the easy part bu how could I integrate the fancy looking umbraco 7 tinyMce?

     

  • Per Ploug 865 posts 3491 karma points MVP admin
    Dec 10, 2013 @ 14:01
    Per Ploug
    0

    look in /src/views/propertyeditors/rte/ - I dont believe you can just cram the RTE in everywhere since it has a lot of conifiguration and bidings to a property value model

  • nojaf 91 posts 300 karma points
    Dec 10, 2013 @ 16:03
    nojaf
    0

    So working with something like this https://github.com/angular-ui/ui-tinymce might be easier?

    Edit: It is possible to just use custom directives.

    Just add anything you need to the umbraco module.

    f.ex.:

    angular.module("umbraco").directives("myAwesomeOwnDirective", 
        function(){
           return {
              restrict: 'AE'
              link: myLinkFunctionSomewhereElse
        }
    }
    
  • 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