How to insert a LeBlender control into Rich text editor?
I've made a Modal-control with LeBlender, and it works great.
But I want to place the Modal control optional placed inside a text, and various types of text (h1, h2, h3, p, a, div, ol, ul, etc.) is freely written best inside RTE (hints and tips if there's other solutions than RTF for this use), but I don't have the Modal-control as an option in my macro list.
How can I insert the LeBlender control into RTE (or how can I make a macro for this Leblender control shown in the macro list)?
Maybe you should create a structure for modals in your content tree instead, and make some javascript logic, for opening links to ie. /modals/my-modal-1234 in a modal.
Do you have any details why you think this is not a good way to do it?
I want to replace my current static solution with Umbraco backend, with use of the new Grid (from v. 7.2), and I've got this to work locally on my developer server, but now only with use of inline style CSS to specify the location of modal location in the text inserted before the RTE. Now I have to specify padding and margin, and since there really are a support for macro in RTE, I want to test this solution as an alternative.
Because it's too cumbersome to work with specific markup, and placement of macros in the rich text editor. You should use the benefit of the grid, but create your own controls for the different parts of content.
How to insert a LeBlender control into Rich text editor?
I've made a Modal-control with LeBlender, and it works great.
But I want to place the Modal control optional placed inside a text, and various types of text (h1, h2, h3, p, a, div, ol, ul, etc.) is freely written best inside RTE (hints and tips if there's other solutions than RTF for this use), but I don't have the Modal-control as an option in my macro list.
How can I insert the LeBlender control into RTE (or how can I make a macro for this Leblender control shown in the macro list)?
This is a really bad way to go.
What do you intent to have in your modals?
Maybe you should create a structure for modals in your content tree instead, and make some javascript logic, for opening links to ie. /modals/my-modal-1234 in a modal.
Do you have any details why you think this is not a good way to do it?
I want to replace my current static solution with Umbraco backend, with use of the new Grid (from v. 7.2), and I've got this to work locally on my developer server, but now only with use of inline style CSS to specify the location of modal location in the text inserted before the RTE. Now I have to specify padding and margin, and since there really are a support for macro in RTE, I want to test this solution as an alternative.
But I will test your proposal too ..
Because it's too cumbersome to work with specific markup, and placement of macros in the rich text editor. You should use the benefit of the grid, but create your own controls for the different parts of content.
I agree, so do you know a jQuery/JavaScript-method or other way to insert this modal widget
somewhere where my marker is placed into this text?
Somebody got an idea how to put a partial content (here a modal made with LeBlender) into Rich text editor?
You can do that with a macro. But as I told you earlier, it is going to be a pain in the ... for the editor to work with.
is working on a reply...