UNPKG

json-joy

Version:

Collection of libraries for building collaborative editing apps.

20 lines (19 loc) 744 B
export var Char; (function (Char) { Char["ZeroLengthSpace"] = "\uFEFF"; })(Char || (Char = {})); export var ElementAttr; (function (ElementAttr) { ElementAttr["InlineOffset"] = "__jsonjoy.com"; })(ElementAttr || (ElementAttr = {})); export var CssClass; (function (CssClass) { /** The whole editor. */ CssClass["Editor"] = "jsonjoy-peritext-editor"; /** Editable area of the editor, beginning of the root block. */ CssClass["Editable"] = "jsonjoy-peritext-editable"; /** Portal for overlay rendering, stacks z-index over "Editable" area. */ CssClass["Overlays"] = "jsonjoy-peritext-overlays"; /** Inline editable areas. */ CssClass["Inline"] = "jsonjoy-peritext-inline"; })(CssClass || (CssClass = {}));