Copied to clipboard

Flag this post as spam?

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


  • Evelyne Schreiner 25 posts 74 karma points
    Jul 31, 2014 @ 11:03
    Evelyne Schreiner
    0

    Rich Text Editor as custom Macro Parameter type

    I've successfully created macro parameter types by following informations on this, in the past:
    http://www.richardsoeteman.net/2010/01/04/CreateACustomMacroParameterType.aspx ;

    However, I would now need the Rich Text Editor as Macro parameter type and don't know where to start. I mean the Assembly for the editor is certainly already existing in Umbraco but I don't know which one it is.

    Has anyone already tried this ? 

    Thanks, 

    Note: Umbraco 4.7 

  • Julien Morvan 8 posts 39 karma points
    Nov 05, 2014 @ 12:16
    Julien Morvan
    0

    Hello,

     

    Same here, but running  on 7.

     

    Any news?

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Nov 05, 2014 @ 12:31
    Jan Skovgaard
    0

    Hi Julien and welcome to our :)

    For Umbraco 7 you'll need to create a new property editor, which is based on AngularJs. Then you can tell your manifest that the property editor should be used as a macro parameter, which you can read about in the Umbraco Angular Workbook here https://github.com/umbraco/AngularWorkbook/blob/master/Exercises/Exercise10.md

    You can also learn about creating and using property editors by going through the whole book - But that specific page I referenced is where the magic happens as to how you can use the property editor as a macro parameter.

    @Evelyne: Sorry that I don't have a reply for your scenario.

    /Jan

  • Julien Morvan 8 posts 39 karma points
    Nov 06, 2014 @ 20:58
    Julien Morvan
    0

    Thanks @Jan,

    thanks, that got me on the right path. I am trying to do the same thing with ace editor but in the backoffice.

    I created my custom tree and all but I cannot get the dependencyManager to inject my third party JS and CSS in my plugin...

    umbracoPage.Init is never hit...

    I know thats another kind of fish all together but I was hopping you might have a solution...

    do you?

    thanks

     

    PS: still usng V7 

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Nov 06, 2014 @ 21:28
    Jan Skovgaard
    0

    Hi Julien

    Unfortunately I don't - But I assume that in your code you call it by the proper name and the example above is just a spelling error, right? :) It should be umbracoPage.Init.

    But perhaps you can show us some code and explain a bit about it? That might make it easier for others to provide suggestions.

    /Jan

  • Julien Morvan 8 posts 39 karma points
    Nov 07, 2014 @ 08:40
    Julien Morvan
    0

    Thanks Jan,

    Yes, thats just a typo in the post, VS would not let me get away with this....

    I edited. and openned a post for that matter.

  • Lindsay 1 post 26 karma points
    Feb 25, 2015 @ 07:18
  • Ryuu 9 posts 39 karma points
    Jan 27, 2016 @ 13:48
    Ryuu
    0

    I've tried this in the latest version of Umbraco (7.3.5) and get a console error Cannot read property 'height' of undefined

    Could you possibly shed some light?

  • Manish 373 posts 932 karma points
    Feb 22, 2017 @ 07:04
    Manish
    0

    Can you please share the code

  • Kevin Miller 1 post 21 karma points
    Mar 24, 2015 @ 04:00
    Kevin Miller
    0

    Awesome thanks Lindsay, that works a charm. I had to add some things to the editor toolbar but that's easy with TinyMCE.

    http://www.tinymce.com/wiki.php/Configuration:toolbar

    Appreciate the help.

  • Anders Brohus 194 posts 475 karma points
    Jun 04, 2015 @ 09:56
    Anders Brohus
    0

    That's awesome Lindsay!.. :D

  • Manish 373 posts 932 karma points
    Feb 22, 2017 @ 06:59
    Manish
    0

    Guys

    Where is the code ? I want the same but don't know where to start.

    Manish

  • Manish 373 posts 932 karma points
    Feb 22, 2017 @ 08:53
  • 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