What would be the best approach to have a WYSIWYG for wikitext syntax?

Events happening in the community are now at Drupal community events on www.drupal.org.
jfiat's picture

Hi all,
I can see there are a lot of activity around the WYSIWYG concept.
However, the support for wikitext format is poor, I noticed an experimental FCKeditor for mediawiki.
But this sounds quite experimental, and not that easy to adapt for drupal.
Before going further in my investigation, I was wondering what would be the best approach to get a wysiwyg editor for wikitext on Drupal (even if this does not cover 100% of wikitext)

Any information will be appreciated,

ps: for now, I would be interested in Drupal 6 (or eventually Drupal 7, but for my need I prefer to stick to stable release)

Comments

You need an editor first.

sun's picture

You need an editor first. Although TinyMCE and FCKeditor improved support for other markup languages than HTML, configuring them to do and output what you want is rather hard.

So the first thing to do is to search for a client-side editor that implements Wikitext syntax instead of HTML. When you find one, download Wysiwyg API, copy'n'paste editors/tinymce.inc into a new file, alter the functions for this editor, and start using it.

Daniel F. Kudwien
unleashed mind

Daniel F. Kudwien
netzstrategen

looking for wikitext editor ...

jfiat's picture

I agree with you, however except the very experimental version of FCKEditor for mediawiki, I didn't find any other editor supporting wikitext syntax. (for info: http://mediawiki.fckeditor.net/)

So I was wondering if anyone knows about a usable wikitext editor, and if not, I could try to implement a basic editor for my needs. But I am far from being a javascript wysiwyg expert, so it may take some time, so if anyone can advice me a solid wysiwyg framework, that would help.

I guess I could look at the wysiwyg API, and probably implement (for now) really simple editor.

In any case, thank you for your answer.

Wysiwyg

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: