Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to inject macro html in editor

Guillaume Jouardet
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 20, 2015

Modules are shown as "box" in the editor and converted into HTML at run time.

I'd like to know if it is possible to inject the HTML code directly to the editor so that we can edit it right away. It would be like small templates we can add where we want in the page being edited.

For instance, we have some documents which contain many table with the same format (same headers, same lines) and instead of copy/past i'd like to add a button or macro to add it dynamically at the cursor position. Then the user would fill in the blank cell with some text.

Thanks,

Guillaume

1 answer

0 votes
Steve Gerstner [bridgingIT]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 22, 2015

It should be possible to extend the editor JavaScript, but I think you will habe to die yourself through the JavaScript oft the editor Plugin...

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events