Getting wiki from TinyMCE / CKEditor (for Trac plugin)

I work for a company that uses Trac. The problem is that no one likes the Trac Wiki, and the wysiwyg plugin is not as good as we would like.

To solve this problem, we decided to create our own Trac wysiwyg plugin (I hope I will be allowed to open it.)

Now the plan is to use TinyMCE or CKEditor as the wysiwyg editor. The problem is that their output is html. Ideally, we would like their output to be trac-wiki inline code.

My question is: Is there a way to force TinyMCE or CKEditor to output wiki code instead of html? If not, what is the best way to get them to output the wiki? (I assume they have some kind of plugin interface that I can use? What is better for this kind of thing?)

Meta-question: what do you think of my approach? Is there a better / faster way to get what I want than integrate TinyMCE / CKEditor?

+1
source share
1 answer

Before you make your own TinyMce Wiki Plugin check

+1
source

Source: https://habr.com/ru/post/1333044/


All Articles