UNPKG

@atlaskit/editor-core

Version:

A package contains Atlassian editor core functionality

14 lines 521 B
import parse from './parse'; import encode from './encode'; export { LANGUAGE_MAP } from './languageMap'; var ConfluenceTransformer = (function () { function ConfluenceTransformer(schema) { var _this = this; this.parse = function (html) { return parse(html, _this.schema); }; this.encode = function (node) { return encode(node, _this.schema); }; this.schema = schema; } return ConfluenceTransformer; }()); export default ConfluenceTransformer; //# sourceMappingURL=index.js.map