Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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 ?
Note: Umbraco 4.7
Same here, but running on 7.
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.
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...
PS: still usng V7
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.
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.
I made one for 7. Check out how here http://lindsayjopson.com/using-an-rte-as-a-macro-parameter-in-umbraco-7/
I've tried this in the latest version of Umbraco (7.3.5) and get a console error Cannot read property 'height' of undefined
Cannot read property 'height' of undefined
Could you possibly shed some light?
Can you please share the code
Awesome thanks Lindsay, that works a charm. I had to add some things to the editor toolbar but that's easy with TinyMCE.
Appreciate the help.
That's awesome Lindsay!.. :D
Where is the code ? I want the same but don't know where to start.
Here is the solution
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted