Open robmccardle opened 9 years ago
Hey, looks like wysihtml isn't working for us so suggest we move to Alloy. To clarify the requirements on this project:
Rich Text : Requirements:
- Should be able to insert inline link
- Should be able to select the target for those link
- Should be able to edit the Alt Description
- Should be able to apply a subset of basic formatting rules to include Bold & Italicise.
- Ability to insert arbitrary inline spans e.g. coloured words or inline Tweetable intents where the User can edit properties of that entity e.g. Tweet Metadata
Rich Text : Restrictions:
- Images/lists/bullets/grids should be built as a separate a component outside the Rich Text entity; not supported within the Rich Text element.
- It should not be possible for an editor to change the font point size or face.
- It should not be possible for an editor to insert inline JS/CSS/HTML.
- All of this must be localisable
Rich Text : Nice to haves:
- Ability to smoothly deal with copy/paste from 3rd party Apps e.g. MS Office
- Fairly wide browser support
- Stable, consistent API which does not rely on contenteditable
- Mobile interaction support e.g. long press replacing hover
- Elegant import/export format for translation agencies
- Keyboard short cut to create a new paragraph and focus the caret on that mid typing
Aware this may require significant investment but I see this as a core product feature which is worth it.
We have really basic support for rich text. We don't have the time to implement the additional features for alpha. I'm postponing this to Beta
My suggestion is we go with http://wysihtml.com
Alternative I'd also be happy with if you prefer @relvao https://github.com/liferay/alloy-editor
Reference http://socialcompare.com/en/comparison/javascript-online-rich-text-editors