rhino-editor
Version:
A custom element wrapped rich text editor
28 lines (27 loc) • 1.66 kB
TypeScript
export declare const isiOS: boolean;
export declare const modifierKey: string;
export declare const altKey: string;
export declare const fileUploadErrorMessage = "Unable to upload this file.";
export declare const captionPlaceholder = "Add a caption...";
export declare const translations: {
readonly attachFiles: "Attach Files";
readonly bold: "Bold <cmd+b>" | "Bold <ctrl+b>";
readonly italics: "Italicize <cmd+i>" | "Italicize <ctrl+i>";
readonly strike: "Strikethrough <cmd+shift+x>" | "Strikethrough <ctrl+shift+x>";
readonly link: "Link <cmd+k>" | "Link <ctrl+k>";
readonly heading: "Heading <cmd+option+1>" | "Heading <cmd+alt+1>" | "Heading <ctrl+option+1>" | "Heading <ctrl+alt+1>";
readonly blockQuote: "Blockquote <cmd+shift+b>" | "Blockquote <ctrl+shift+b>";
readonly code: "Inline code <cmd+e>" | "Inline code <ctrl+e>";
readonly codeBlock: "Codeblock <cmd+option+c>" | "Codeblock <cmd+alt+c>" | "Codeblock <ctrl+option+c>" | "Codeblock <ctrl+alt+c>";
readonly bulletList: "Bullet List <cmd+shift+7>" | "Bullet List <ctrl+shift+7>";
readonly orderedList: "Ordered List <cmd+shift+8>" | "Ordered List <ctrl+shift+8>";
readonly undo: "Undo <cmd+z>" | "Undo <ctrl+z>";
readonly redo: "Redo <cmd+shift+z>" | "Redo <ctrl+shift+z>";
readonly linkDialogLink: "Link";
readonly linkDialogUnlink: "Unlink";
readonly placeholder: "Write something...";
readonly increaseIndentation: "Increase indentation";
readonly decreaseIndentation: "Decrease indentation";
readonly fileUploadErrorMessage: "Unable to upload this file.";
readonly captionPlaceholder: "Add a caption...";
};