transform.js is part of Aloha Editor project http://www.alohaeditor.org
Aloha Editor ● JavaScript Content Editing Library
Copyright (c) 2010-2015 Gentics Software GmbH, Vienna, Austria.
Contributors http://www.alohaeditor.org/docs/contributing.html
Aloha Editor ● JavaScript Content Editing Library
Copyright (c) 2010-2015 Gentics Software GmbH, Vienna, Austria.
Contributors http://www.alohaeditor.org/docs/contributing.html
Methods
-
html(markup, document, rules){string}
-
Transforms html markup to normalized HTML.
Name Type Description markup
string document
Document rules
Object -
msword(markup, doc){string}
-
Transforms msword markup to normalized HTML.
Name Type Description markup
string doc
Document -
plain(text){string}
-
Transforms plain text into visually comparable HTML.
Name Type Description text
string