UNPKG

@mantine/tiptap

Version:

Rich text editor based on tiptap

54 lines (53 loc) 1.95 kB
"use client"; //#region packages/@mantine/tiptap/src/labels.ts const DEFAULT_LABELS = { linkControlLabel: "Link", colorPickerControlLabel: "Text color", highlightControlLabel: "Highlight text", colorControlLabel: (color) => `Set text color ${color}`, boldControlLabel: "Bold", italicControlLabel: "Italic", underlineControlLabel: "Underline", strikeControlLabel: "Strikethrough", clearFormattingControlLabel: "Clear formatting", unlinkControlLabel: "Remove link", bulletListControlLabel: "Bullet list", orderedListControlLabel: "Ordered list", sourceCodeControlLabel: "Switch between text/source code", h1ControlLabel: "Heading 1", h2ControlLabel: "Heading 2", h3ControlLabel: "Heading 3", h4ControlLabel: "Heading 4", h5ControlLabel: "Heading 5", h6ControlLabel: "Heading 6", blockquoteControlLabel: "Blockquote", alignLeftControlLabel: "Align text: left", alignCenterControlLabel: "Align text: center", alignRightControlLabel: "Align text: right", alignJustifyControlLabel: "Align text: justify", codeControlLabel: "Code", codeBlockControlLabel: "Code block", subscriptControlLabel: "Subscript", superscriptControlLabel: "Superscript", unsetColorControlLabel: "Unset color", hrControlLabel: "Horizontal line", undoControlLabel: "Undo", redoControlLabel: "Redo", tasksControlLabel: "Task list", tasksSinkLabel: "Decrease task level", tasksLiftLabel: "Increase task level", linkEditorInputLabel: "Enter URL", linkEditorInputPlaceholder: "https://example.com/", linkEditorExternalLink: "Open link in a new tab", linkEditorInternalLink: "Open link in the same tab", linkEditorSave: "Save", colorPickerCancel: "Cancel", colorPickerClear: "Clear color", colorPickerColorPicker: "Color picker", colorPickerPalette: "Color palette", colorPickerSave: "Save", colorPickerColorLabel: (color) => `Set text color ${color}` }; //#endregion exports.DEFAULT_LABELS = DEFAULT_LABELS; //# sourceMappingURL=labels.cjs.map