First time here? Check out the FAQ!
2

Changing the default WMD editor

I want to replace the default WMD Editor with my custom editor

My editor is WYSIWYG type - supporting emoticons/smileys and youtube and iframe support currently. It should be a more user friendly replacement for WMD or Markdown and Markdown2 editors.

And I'm now testing to integrate with Askbot.

  1. What are all the things to be considered and looked for in replacing WMD?

  2. The files to be looked for replacing. Are there any dependencies with WMD? I think WMD is just a pluggable app to Askbot.

I've just started to explore askbot codebase. :)

pajju's avatar
565
pajju
asked 2012-08-06 12:49:13 -0500
todofixthis's avatar
1.3k
todofixthis
updated 2012-08-06 15:30:14 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

2

We are currently adding an option to choose either WMD or TinyMCE, I am not sure there can be a reliable and easy way to implement any custom editor via configuration.

TinyMCE option should be available in version 0.7.45, we already have it on a branch called "tag-editor".

Evgeny's avatar
13.2k
Evgeny
answered 2012-08-06 12:54:56 -0500, updated 2012-08-06 12:56:44 -0500
edit flag offensive 0 remove flag delete link

Comments

@Evgeny thanks. I saw TinyMCE - its rich in features and will be a good addition. :) @Evgeny are there any editors that support smileys - for Askbot? its for a casual collage forum. Thanks. I'm particularly interested in having smileys in answers.

pajju's avatar pajju (2012-08-06 13:13:19 -0500) edit

Do you intend to switch to PageDown on the WMD side of things? I intend to stick with Markdown over TinyMCE myself. (And how about the latest StackExchange editor with its expanding help toolbar? Wow! Gotta find a way to snag that.)

mcg's avatar mcg (2012-08-14 18:07:37 -0500) edit

Hey, it makes sense to switch to PageDown. There are two issues: we need to re-implement image and attachment insertions in PageDown and add i18n if it is not there yet.

Also the editor must work in a pop-up div as it will be used in Askbot this way (is already used inside pop-ups in some corners).

Evgeny's avatar Evgeny (2012-08-14 18:18:39 -0500) edit
add a comment see more comments