@atlaskit/editor-core
Version:
A package contains Atlassian editor core functionality
23 lines • 635 B
JavaScript
import Code from './code';
import Em from './em';
import Link from './link';
import Strike from './strike';
import Strong from './strong';
import Subsup from './subsup';
import TextColor from './textColor';
import Underline from './underline';
export var markToReact = {
'code': Code,
'em': Em,
'link': Link,
'strike': Strike,
'strong': Strong,
'subsup': Subsup,
'textColor': TextColor,
'underline': Underline,
};
export var toReact = function (mark) {
return markToReact[mark.type.name];
};
export { Code, Em, Link, Strike, Strong, Subsup, TextColor, Underline, };
//# sourceMappingURL=index.js.map