Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

4.1 KB
Raw Blame
pub const DELTA: &str = "delta";
pub const LEVEL: &str = "level";
pub const NUMBER: &str = "number";
pub const CHECKED: &str = "checked";

pub const COLLAPSED: &str = "collapsed";
pub const LANGUAGE: &str = "language";

pub const ICON: &str = "icon";
pub const WIDTH: &str = "width";
pub const HEIGHT: &str = "height";
pub const URL: &str = "url";
pub const CAPTION: &str = "caption";
pub const ALIGN: &str = "align";

pub const PAGE: &str = "page";
pub const HEADING: &str = "heading";
pub const PARAGRAPH: &str = "paragraph";
pub const NUMBERED_LIST: &str = "numbered_list";
pub const BULLETED_LIST: &str = "bulleted_list";
pub const TODO_LIST: &str = "todo_list";
pub const TOGGLE_LIST: &str = "toggle_list";
pub const QUOTE: &str = "quote";
pub const CALLOUT: &str = "callout";
pub const IMAGE: &str = "image";
pub const DIVIDER: &str = "divider";
pub const MATH_EQUATION: &str = "math_equation";
pub const BOLD: &str = "bold";
pub const ITALIC: &str = "italic";
pub const STRIKETHROUGH: &str = "strikethrough";
pub const CODE: &str = "code";
pub const UNDERLINE: &str = "underline";
pub const FONT_COLOR: &str = "font_color";
pub const BG_COLOR: &str = "bg_color";

pub const FORMULA: &str = "formula";
pub const MENTION: &str = "mention";

pub const TEXT_DIRECTION: &str = "text_direction";

pub const HTML_TAG_NAME: &str = "html";
pub const HR_TAG_NAME: &str = "hr";
pub const META_TAG_NAME: &str = "meta";
pub const LINK_TAG_NAME: &str = "link";
pub const SCRIPT_TAG_NAME: &str = "script";
pub const STYLE_TAG_NAME: &str = "style";
pub const IFRAME_TAG_NAME: &str = "iframe";
pub const NOSCRIPT_TAG_NAME: &str = "noscript";
pub const HEAD_TAG_NAME: &str = "head";
pub const H1_TAG_NAME: &str = "h1";
pub const H2_TAG_NAME: &str = "h2";
pub const H3_TAG_NAME: &str = "h3";
pub const H4_TAG_NAME: &str = "h4";
pub const H5_TAG_NAME: &str = "h5";
pub const H6_TAG_NAME: &str = "h6";
pub const P_TAG_NAME: &str = "p";
pub const ASIDE_TAG_NAME: &str = "aside";
pub const ARTICLE_TAG_NAME: &str = "article";
pub const UL_TAG_NAME: &str = "ul";
pub const OL_TAG_NAME: &str = "ol";
pub const LI_TAG_NAME: &str = "li";
pub const BLOCKQUOTE_TAG_NAME: &str = "blockquote";
pub const PRE_TAG_NAME: &str = "pre";
pub const IMG_TAG_NAME: &str = "img";
pub const B_TAG_NAME: &str = "b";
pub const CODE_TAG_NAME: &str = "code";
pub const STRONG_TAG_NAME: &str = "strong";
pub const EM_TAG_NAME: &str = "em";
pub const U_TAG_NAME: &str = "u";
pub const S_TAG_NAME: &str = "s";
pub const SPAN_TAG_NAME: &str = "span";
pub const BR_TAG_NAME: &str = "br";

pub const A_TAG_NAME: &str = "a";
pub const BASE_TAG_NAME: &str = "base";
pub const ABBR_TAG_NAME: &str = "abbr";
pub const ADDRESS_TAG_NAME: &str = "address";
pub const DBO_TAG_NAME: &str = "bdo";
pub const DIR_ATTR_NAME: &str = "dir";

pub const RTL_ATTR_VALUE: &str = "rtl";

pub const CITE_TAG_NAME: &str = "cite";

pub const DEL_TAG_NAME: &str = "del";

pub const DETAILS_TAG_NAME: &str = "details";

pub const SUMMARY_TAG_NAME: &str = "summary";

pub const DFN_TAG_NAME: &str = "dfn";

pub const DL_TAG_NAME: &str = "dl";

pub const I_TAG_NAME: &str = "i";
pub const VAR_TAG_NAME: &str = "var";

pub const INS_TAG_NAME: &str = "ins";
pub const MENU_TAG_NAME: &str = "menu";

pub const MARK_TAG_NAME: &str = "mark";

pub const FONT_WEIGHT: &str = "font-weight";
pub const FONT_STYLE: &str = "font-style";
pub const TEXT_DECORATION: &str = "text-decoration";

pub const BACKGROUND_COLOR: &str = "background-color";

pub const TRANSPARENT: &str = "transparent";
pub const COLOR: &str = "color";
pub const LINE_THROUGH: &str = "line-through";

pub const FONT_STYLE_ITALIC: &str = "font-style: italic;";
pub const TEXT_DECORATION_UNDERLINE: &str = "text-decoration: underline;";
pub const TEXT_DECORATION_LINE_THROUGH: &str = "text-decoration: line-through;";
pub const FONT_WEIGHT_BOLD: &str = "font-weight: bold;";
pub const FONT_FAMILY_FANTASY: &str = "font-family: fantasy;";

pub const SRC: &str = "src";
pub const HREF: &str = "href";
pub const ROLE: &str = "role";
pub const CHECKBOX: &str = "checkbox";
pub const ARIA_CHECKED: &str = "aria-checked";
pub const CLASS: &str = "class";
pub const STYLE: &str = "style";