UNPKG

@rtdui/editor

Version:

React rich text editor based on tiptap

58 lines (55 loc) 2.41 kB
'use client'; 'use strict'; const DEFAULT_CN_LABELS = { // Controls labels linkControlLabel: "\u94FE\u63A5()", colorPickerControlLabel: "\u6587\u672C\u989C\u8272", highlightControlLabel: "\u6587\u672C\u9AD8\u4EAE", colorControlLabel: (color) => `\u8BBE\u7F6E\u6587\u672C\u989C\u8272 ${color}`, boldControlLabel: "\u7C97\u4F53", italicControlLabel: "\u659C\u4F53", underlineControlLabel: "\u4E0B\u5212\u7EBF", strikeControlLabel: "\u5220\u9664\u7EBF", clearFormattingControlLabel: "\u6E05\u9664\u683C\u5F0F", unlinkControlLabel: "\u79FB\u9664\u94FE\u63A5", bulletListControlLabel: "\u7B26\u53F7\u5217\u8868", orderedListControlLabel: "\u5E8F\u53F7\u5217\u8868", h1ControlLabel: "\u6807\u98981", h2ControlLabel: "\u6807\u98982", h3ControlLabel: "\u6807\u98983", h4ControlLabel: "\u6807\u98984", h5ControlLabel: "\u6807\u98985", h6ControlLabel: "\u6807\u98986", blockquoteControlLabel: "\u5757\u5F15\u7528", alignLeftControlLabel: "\u6587\u672C: \u5DE6\u5BF9\u9F50", alignCenterControlLabel: "\u6587\u672C: \u5C45\u4E2D\u5BF9\u9F50", alignRightControlLabel: "\u6587\u672C: \u53F3\u5BF9\u9F50", alignJustifyControlLabel: "\u6587\u672C: \u4E24\u7AEF\u5BF9\u9F50", codeControlLabel: "\u5185\u8054\u4EE3\u7801", codeBlockControlLabel: "\u4EE3\u7801\u5757", subscriptControlLabel: "\u4E0B\u6807", superscriptControlLabel: "\u4E0A\u6807", unsetColorControlLabel: "\u53D6\u6D88\u989C\u8272", hrControlLabel: "\u6C34\u5E73\u7EBF", // Link editor linkEditorInputLabel: "\u8F93\u5165 URL", linkEditorInputPlaceholder: "https://example.com/", linkEditorExternalLink: "\u5728\u65B0\u6807\u7B7E\u9875\u6253\u5F00\u94FE\u63A5", linkEditorInternalLink: "\u5728\u5F53\u524D\u6807\u7B7E\u9875\u6253\u5F00\u94FE\u63A5", linkEditorSave: "\u4FDD\u5B58", // Color picker control colorPickerCancel: "\u53D6\u6D88", colorPickerClear: "\u6E05\u9664\u989C\u8272", colorPickerColorPicker: "\u6E05\u9664\u989C\u8272\u62FE\u53D6\u5668", colorPickerPalette: "\u989C\u8272\u9762\u677F", colorPickerSave: "\u4FDD\u5B58", colorPickerColorLabel: (color) => `\u8BBE\u7F6E\u6587\u672C\u989C\u8272 ${color}`, // image ImageControlLabel: "\u56FE\u7247", // table TableControlLabel: "\u8868\u683C", // helper HelperControlLabel: "\u5E2E\u52A9\u6587\u6863" }; exports.DEFAULT_CN_LABELS = DEFAULT_CN_LABELS; //# sourceMappingURL=constrolLabels.cjs.map