HTML editors / markdown

138 views
Skip to first unread message

Marc Worrell

unread,
Aug 27, 2012, 5:33:40 AM8/27/12
to zotonic-d...@googlegroups.com, Lloyd R. Prentice
Hi,

To continue the discussion of html editors.

Recently I came across this editor: https://github.com/xing/wysihtml5

It is much more lightweight than tinymce.
But seems to miss some things like pre, tables and text direction.

I would invite you all to test it, and see if might work better than tinymce.


About support for markdown entry.

I really would like people to be able to switch between markdown and html editing.
This because I have some customers who have very different editing needs in the same team, and I am sure some would prefer markdown and other the html editor.
Mixing that will give much confusion in the editor teams (which are located across the globe).

For a good support we need to have Markdown to HTML and HTML to Markdown conversion support.
Where just editing in one should keep that one format as well.

That means that either we need to make the HTML to Markdown conversion foolproof or need an extra intermediate form with both representations.

Both add considerable complexity.

An intermediate representation could be:

-record(editabletext, { type :: atom(), raw :: binary(), html :: binary() }).

Where the type can be, for example, 'markdown'.

We need to support this intermediate form in the same places where we support translations (that are {trans. …} tuples) right now.

Any ideas?

- Marc

Amiramix

unread,
Sep 18, 2012, 12:14:05 PM9/18/12
to zotonic-d...@googlegroups.com, Lloyd R. Prentice
How about Maqetta? http://maqetta.org/

Marc Worrell

unread,
Oct 15, 2012, 4:40:06 AM10/15/12
to zotonic-d...@googlegroups.com
Hi Tom,

That editor is very nice indeed!
I like the highlighting and how it advances.

Didn't work on my phone, but I guess that is more layout/css problems than architectural.

I can't find any license in the GitHub repo on this one.
Do you know more about it?

- Marc


On 14 okt. 2012, at 02:09, tpbradley wrote:

Hi Mark,

This looks pretty impressive http://markdownr.cloudapp.net/new



On Monday, August 27, 2012 10:33:40 AM UTC+1, Marc Worrell wrote:

Marc Worrell

unread,
Dec 18, 2012, 9:16:13 AM12/18/12
to zotonic-d...@googlegroups.com
Hi Tom,

Divshot is very nice indeed. Looks like a commercial application (free for now).
It is the kind of editor I am looking for… will check it out!

Thanks, 

Marc


On 18 dec. 2012, at 15:00, t...@71squared.com wrote:

Hi Marc,

I'm not sure about the licensing, I didn't look into it that far.

I've found another really impressive editor called Divshot (http://divshot.com). It would be great to be able to design a page in the backend by using an editor similar to this. You could define a bunch of edit/view templates that become drag n drop components for building up the layout of the page whilst your editing the content. You could also save a layout as a template for future use ;)

Cheers
Tom
Reply all
Reply to author
Forward
0 new messages