Unfortunately , the links didn't contain what I needed.
What I have so far is:
<web-panel key="audit-structure-page" location="com.atlassian.jira.jira-projects-plugin:auditstructurepage">
<resource type="velocity" name="view" location="templates/panel/audit-structure.vm"/>
A Context Provider where I add the rederer descriptor:
JiraRendererPlugin renderer = ComponentAccessor.getRendererManager().getRendererForType("atlassian-wiki-renderer");
JiraRendererModuleDescriptor rendererDescriptor = renderer.getDescriptor();
context.put("rendererParams", Maps.<String, Object>newHashMap());
And my .vm file where I add the RichEditor:
$rendererDescriptor.getEditVM("Test", "null", "atlassian-wiki-renderer", "responsible", "responsible", $rendererParams, false)
What I get is that:
What I want is that:
It seems there is missing some CSS and/or JS. Any ideas?
I found out one more thing. If I deactive the new RichText Editor (what I want) the old RichText Editor in my page works as expected and doesn't show the original Text ("Test" without style) over the blue icon.
It looks like the activated new RichText Editor messes up the old RichText Editor.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs