gitit icon indicating copy to clipboard operation
gitit copied to clipboard

WYSIWYM (not just WYSIWYG) Editor

Open heyakyra opened this issue 11 years ago • 5 comments

A WYSIWYM editor should be supported instead of a WYSIWYG editor because the former manipulates the markup language instead of generating a mess of HTML.

  • http://tetlaw.id.au/view/blog/wysiwyg-has-no-place-on-the-web-time-for-wysiwym/
  • http://www.456bereastreet.com/archive/200612/forget_wysiwyg_editors_use_wysiwym_instead/

This means an editor that looks like a normal WYSIWYG editor, but instead of creating messy HTML, it edits the markup language and shows how it will look.

Perhaps WYMeditor can be adapted for this:

  • http://www.wymeditor.org/

heyakyra avatar Nov 05 '12 03:11 heyakyra

Or even, just interoperability with a web service editor already supporting pandoc flavor with real time previous pane would be really nice in the meantime.

The following already has all these properties: http://blog.yoavram.com/markx/ Try it at: http://markx.herokuapp.com/ Repository at: https://github.com/yoavram/markx for private web server installs.

We could even attempt to use gitit as backend instead of pandoc for the preview pane so that plugins transformation are included as well in the preview pane.

jraygauthier avatar Dec 11 '14 16:12 jraygauthier

Wow. That Markx is an excellent find! That would be fantastic to put right on the page when editing in Gitit's web interface. The engineers/devs can keep using git, and business people can have a form of a GUI.

boomshadow avatar Jan 06 '16 17:01 boomshadow

I made a gitit + hallo.js + markdown integration once : it is quite easy to implement and the result is impressive.

Demo of hallo.js + markdown (without gitit) : http://hallojs.org/demo/markdown/

(it is very late there... thus i'll find & upload my code only tomorrow)

glenux avatar Jan 07 '16 00:01 glenux

@glenux You've got a working branch for this? I would be obliged.

da-x avatar May 08 '17 13:05 da-x

@glenux Still around?

naught101 avatar Jan 14 '20 04:01 naught101