@progress/kendo-react-editor
Version:
React Editor enables users to create rich text content through a WYSIWYG interface. KendoReact Editor package
369 lines (368 loc) • 14.9 kB
JavaScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
const e = "editor.bold", t = "editor.italic", o = "editor.underline", r = "editor.strikethrough", i = "editor.subscript", l = "editor.superscript", n = "editor.hyperlink", s = "editor.insertFile", d = "editor.print", c = "editor.selectAll", a = "editor.cleanFormatting", p = "editor.pdf", b = "editor.foregroundColor", P = "editor.backgroundColor", g = "editor.createTable", C = "editor.insertTableHint", m = "editor.addRowBefore", h = "editor.addRowAfter", f = "editor.addColumnBefore", R = "editor.addColumnAfter", y = "editor.deleteRow", A = "editor.deleteColumn", u = "editor.deleteTable", S = "editor.mergeCells", T = "editor.splitCell", w = "editor.hyperlink-dialog-title", B = "editor.hyperlink-dialog-content-address", I = "editor.hyperlink-dialog-content-title", L = "editor.hyperlink-dialog-content-newwindow", H = "editor.hyperlink-dialog-cancel", k = "editor.hyperlink-dialog-insert", v = "editor.insertfile-dialog-title", W = "editor.insertfile-dialog-content-address", D = "editor.insertfile-dialog-content-title", F = "editor.insertfile-dialog-cancel", x = "editor.insertfile-dialog-insert", M = "editor.image", N = "editor.image-dialog-title", U = "editor.image-address", E = "editor.image-title", G = "editor.image-altText", z = "editor.image-width", O = "editor.image-height", q = "editor.image-cancel", J = "editor.image-insert", V = "editor.viewHtml", j = "editor.viewHtml-dialog-title", K = "editor.viewHtml-cancel", Q = "editor.viewHtml-update", X = "editor.unlink", Y = "editor.undo", Z = "editor.redo", _ = "editor.fontSize", $ = "editor.fontName", ee = "editor.format", te = "editor.alignLeft", oe = "editor.alignRight", re = "editor.alignCenter", ie = "editor.alignJustify", le = "editor.indent", ne = "editor.outdent", se = "editor.orderedList", de = "editor.bulletList", ce = "editor.findReplace-tool-title", ae = "editor.findReplace-dialog-title", pe = "editor.findReplace-tab-find", be = "editor.findReplace-tab-replace", Pe = "editor.findReplace-findWhat", ge = "editor.findReplace-replaceWith", Ce = "editor.findReplace-replace", me = "editor.findReplace-replaceAll", he = "editor.findReplace-matchCase", fe = "editor.findReplace-matchWord", Re = "editor.findReplace-matchCyclic", ye = "editor.findReplace-useRegExp", Ae = "editor.findReplace-prevMatch", ue = "editor.findReplace-nextMatch", Se = "editor.findReplace-matches", Te = "editor.findReplace-invalidRegExp", we = "editor.iframeTitle", Be = "editor.contentAreaLabel", Ie = "editorTools.foreColorLabel", Le = "editorTools.backColorLabel", He = "editor.cellProperties", ke = "editor.cellPropertiesLeftTop", ve = "editor.cellPropertiesCenterTop", We = "editor.cellPropertiesRightTop", De = "editor.cellPropertiesLeftMiddle", Fe = "editor.cellPropertiesCenterMiddle", xe = "editor.cellPropertiesRightMiddle", Me = "editor.cellPropertiesLeftBottom", Ne = "editor.cellPropertiesCenterBottom", Ue = "editor.cellPropertiesRightBottom", Ee = "editor.cellPropertiesNoAlignment", Ge = "editor.cellPropertiesWrap", ze = "editor.cellPropertiesFitToCell", Oe = "editor.cellPropertiesApplyToAllCells", qe = "editor.cellPropertiesWidth", Je = "editor.cellPropertiesApplyToColumn", Ve = "editor.cellPropertiesHeight", je = "editor.cellPropertiesApplyToRow", Ke = "editor.cellPropertiesAlignment", Qe = "editor.cellPropertiesTextControl", Xe = "editor.cellPropertiesCellPadding", Ye = "editor.cellPropertiesBackground", Ze = "editor.cellPropertiesBorderWidth", _e = "editor.cellPropertiesBorderColor", $e = "editor.cellPropertiesBorderStyle", et = "editor.cellPropertiesId", tt = "editor.cellPropertiesCssClass", ot = "editor.cellPropertiesSave", rt = "editor.cellPropertiesCancel", it = "editor.tableProperties", lt = "editor.tablePropertiesAlignLeft", nt = "editor.tablePropertiesAlignCenter", st = "editor.tablePropertiesAlignRight", dt = "editor.tablePropertiesNoAlignment", ct = "editor.tablePropertiesLeft", at = "editor.tablePropertiesCenter", pt = "editor.tablePropertiesRight", bt = "editor.tablePropertiesTop", Pt = "editor.tablePropertiesBottom", gt = "editor.tablePropertiesNone", Ct = "editor.tablePropertiesUsingScopeAttribute", mt = "editor.tablePropertiesUsingIdAttributes", ht = "editor.tablePropertiesRows", ft = "editor.tablePropertiesColumns", Rt = "editor.tablePropertiesWidth", yt = "editor.tablePropertiesHeight", At = "editor.tablePropertiesPosition", ut = "editor.tablePropertiesAlignment", St = "editor.tablePropertiesCellSpacing", Tt = "editor.tablePropertiesCellPadding", wt = "editor.tablePropertiesTableBackground", Bt = "editor.tablePropertiesBorderWidth", It = "editor.tablePropertiesBorderColor", Lt = "editor.tablePropertiesBorderStyle", Ht = "editor.tablePropertiesCollapseBorders", kt = "editor.tablePropertiesID", vt = "editor.tablePropertiesCssClass", Wt = "editor.tablePropertiesAccessibility", Dt = "editor.tablePropertiesCaption", Ft = "editor.tablePropertiesCaptionPosition", xt = "editor.tablePropertiesCaptionAlignment", Mt = "editor.tablePropertiesHeaderRows", Nt = "editor.tablePropertiesHeaderCols", Ut = "editor.tablePropertiesAssociateHeaders", Et = "editor.tablePropertiesGeneral", Gt = "editor.tablePropertiesAdvanced", zt = "editor.tablePropertiesSave", Ot = "editor.tablePropertiesCancel", qt = "editor.borderStyleNone", Jt = "editor.borderStyleSolid", Vt = "editor.borderStyleDotted", jt = "editor.borderStyleDashed", Kt = "editor.borderStyleDouble", Qt = "editor.borderStyleGroove", Xt = "editor.borderStyleRidge", Yt = "editor.borderStyleInset", Zt = "editor.borderStyleOutset", _t = "editor.borderStyleInitial", $t = "editor.borderStyleInherit", eo = "editor.borderStyleHidden", to = "editor.sizeAuto", oo = "editor.listStyleDisc", ro = "editor.listStyleCircle", io = "editor.listStyleSquare", lo = "editor.listStyleDecimal", no = "editor.listStyleUpperRoman", so = "editor.listStyleLowerRoman", co = "editor.listStyleUpperLatin", ao = "editor.listStyleLowerLatin", po = "editor.toolbarAriaLabel", bo = {
[]: "Bold",
[]: "Italic",
[]: "Underline",
[]: "Strikethrough",
[]: "Subscript",
[]: "Superscript",
[]: "Remove hyperlink",
[]: "Undo",
[]: "Redo",
[]: "Font Size",
[$]: "Font Name",
[]: "Format",
[]: "Align text left",
[]: "Align text right",
[]: "Center text",
[]: "Justify",
[]: "Indent",
[]: "Outdent",
[]: "Insert ordered list",
[]: "Insert unordered list",
[]: "Print",
[]: "Select All",
[]: "Clean formatting",
[]: "Export as PDF",
[]: "Color",
[]: "Background color",
// Tables
[]: "Create a table",
[]: "Create a {0} x {1} table",
[]: "Add row above",
[]: "Add row below",
[]: "Add column on the left",
[]: "Add column on the right",
[]: "Delete row",
[]: "Delete column",
[]: "Delete table",
[]: "Merge cells",
[]: "Split cell",
// Insert Link
[]: "Insert hyperlink",
[]: "Insert hyperlink",
[]: "Web address",
[]: "Title",
[]: "Open link in new window",
[]: "Cancel",
[]: "Insert",
// Insert File
[]: "Insert file",
[]: "Insert file",
[]: "Web address",
[]: "Title",
[]: "Cancel",
[]: "Insert",
// Insert Image
[]: "Insert image",
[]: "Insert image",
[]: "Web address",
[]: "Title",
[]: "Alternate text",
[]: "Width (px)",
[]: "Height (px)",
[]: "Cancel",
[]: "Insert",
// View HTML
[]: "View HTML",
[]: "View HTML",
[]: "Cancel",
[]: "Update",
// Find and Replace
[]: "Find and Replace",
[]: "Find and Replace",
[]: "Find",
[]: "Replace",
[]: "Find What:",
[]: "Replace With",
[]: "Replace",
[]: "Replace All",
[]: "Match Case",
[]: "Match whole word only",
[]: "Match cyclic (Wrap around)",
[]: "Regular Expression",
[]: "Prev",
[]: "Next",
[]: "{0} of {1} matches",
[]: "Invalid regular expression.",
[]: "Editable area. Press Alt + F10 for toolbar.",
[]: "Editor content",
[]: "Fore Color",
[]: "Back Color",
[]: "Cell properties",
[]: "Left Top",
[]: "Center Top",
[]: "Right Top",
[]: "Left Middle",
[]: "Center Middle",
[]: "Right Middle",
[]: "Left Bottom",
[]: "Center Bottom",
[]: "Right Bottom",
[]: "No Alignment",
[]: "Wrap",
[]: "Fit to cell",
[]: "Apply to all cells",
[]: "Width",
[]: "apply to column",
[]: "Height",
[]: "apply to row",
[]: "Alignment",
[]: "Text control",
[]: "Cell padding",
[]: "Background",
[]: "Border width",
[]: "Border color",
[$e]: "Border style",
[]: "ID",
[]: "CSS class",
[]: "Save",
[]: "Cancel",
[]: "Table properties",
[]: "Align Left",
[]: "Align Center",
[]: "Align Right",
[]: "No Alignment",
[]: "Left",
[]: "Center",
[]: "Right",
[]: "Top",
[]: "Bottom",
[]: "None",
// eslint-disable-next-line @typescript-eslint/quotes
[]: "Using 'scope' attribute",
// eslint-disable-next-line @typescript-eslint/quotes
[]: "Using 'id' attributes",
[]: "Rows",
[]: "Columns",
[]: "Width",
[]: "Height",
[]: "Position",
[]: "Alignment",
[]: "Cell spacing",
[]: "Cell padding",
[]: "Table background",
[]: "Border width",
[]: "Border color",
[]: "Border style",
[]: "Collapse borders",
[]: "ID",
[]: "CSS class",
[]: "Accessibility",
[]: "Caption",
[]: "Position",
[]: "Alignment",
[]: "Header rows",
[]: "Header cols",
[]: "Associate headers",
[]: "General",
[]: "Advanced",
[]: "Save",
[]: "Cancel",
[]: "None",
[]: "Solid",
[]: "Dotted",
[]: "Dashed",
[]: "Double",
[]: "Groove",
[]: "Ridge",
[]: "Inset",
[]: "Outset",
[]: "Initial",
[$t]: "Inherit",
[]: "Hidden",
[]: "Auto",
[]: "Disc",
[]: "Circle",
[]: "Square",
[]: "Decimal",
[]: "Upper roman",
[]: "Lower roman",
[]: "Upper latin",
[]: "Lower latin",
[]: "Toolbar"
}, Po = {
bold: e,
italic: t,
underline: o,
strikethrough: r,
subscript: i,
superscript: l,
unlink: X,
undo: Y,
redo: Z,
fontSize: _,
fontName: $,
format: ee,
alignLeft: te,
alignRight: oe,
alignCenter: re,
alignJustify: ie,
indent: le,
outdent: ne,
orderedList: se,
bulletList: de,
print: d,
selectAll: c,
cleanFormatting: a,
pdf: p,
foregroundColor: b,
backgroundColor: P,
createTable: g,
createTableHint: C,
addRowBefore: m,
addRowAfter: h,
addColumnBefore: f,
addColumnAfter: R,
deleteRow: y,
deleteColumn: A,
deleteTable: u,
mergeCells: S,
splitCell: T,
insertHyperlink: n,
insertHyperlinkDialogTitle: w,
insertHyperlinkAddress: B,
insertHyperlinkTitle: I,
insertHyperlinkNewWindow: L,
insertHyperlinkCancel: H,
insertHyperlinkInsert: k,
insertFile: s,
insertFileDialogTitle: v,
insertFileAddress: W,
insertFileTitle: D,
insertFileCancel: F,
insertFileInsert: x,
insertImage: M,
insertImageDialogTitle: N,
insertImageAddress: U,
insertImageTitle: E,
insertImageAltText: G,
insertImageWidth: z,
insertImageHeight: O,
insertImageCancel: q,
insertImageInsert: J,
viewHtml: V,
viewHtmlDialogTitle: j,
viewHtmlCancel: K,
viewHtmlUpdate: Q,
findReplaceToolTitle: ce,
findReplaceDialogTitle: ae,
findReplaceTabFind: pe,
findReplaceTabReplace: be,
findReplaceFindWhat: Pe,
findReplaceReplaceWith: ge,
findReplaceReplace: Ce,
findReplaceReplaceAll: me,
findReplaceMatchCase: he,
findReplaceMatchWord: fe,
findReplaceMatchCyclic: Re,
findReplaceUseRegExp: ye,
findReplacePrevMatch: Ae,
findReplaceNextMatch: ue,
findReplaceMatches: Se,
findReplaceInvalidRegExp: Te,
iframeTitle: we,
contentAreaLabel: Be,
foreColorLabel: Ie,
backColorLabel: Le,
cellProperties: He,
cellPropertiesLeftTop: ke,
cellPropertiesCenterTop: ve,
cellPropertiesRightTop: We,
cellPropertiesLeftMiddle: De,
cellPropertiesCenterMiddle: Fe,
cellPropertiesRightMiddle: xe,
cellPropertiesLeftBottom: Me,
cellPropertiesCenterBottom: Ne,
cellPropertiesRightBottom: Ue,
cellPropertiesNoAlignment: Ee,
cellPropertiesWrap: Ge,
cellPropertiesFitToCell: ze,
cellPropertiesApplyToAllCells: Oe,
cellPropertiesWidth: qe,
cellPropertiesApplyToColumn: Je,
cellPropertiesHeight: Ve,
cellPropertiesApplyToRow: je,
cellPropertiesAlignment: Ke,
cellPropertiesTextControl: Qe,
cellPropertiesCellPadding: Xe,
cellPropertiesBackground: Ye,
cellPropertiesBorderWidth: Ze,
cellPropertiesBorderColor: _e,
cellPropertiesBorderStyle: $e,
cellPropertiesId: et,
cellPropertiesCssClass: tt,
cellPropertiesSave: ot,
cellPropertiesCancel: rt,
tableProperties: it,
tablePropertiesAlignLeft: lt,
tablePropertiesAlignCenter: nt,
tablePropertiesAlignRight: st,
tablePropertiesNoAlignment: dt,
tablePropertiesLeft: ct,
tablePropertiesCenter: at,
tablePropertiesRight: pt,
tablePropertiesTop: bt,
tablePropertiesBottom: Pt,
tablePropertiesNone: gt,
tablePropertiesUsingScopeAttribute: Ct,
tablePropertiesUsingIdAttributes: mt,
tablePropertiesRows: ht,
tablePropertiesColumns: ft,
tablePropertiesWidth: Rt,
tablePropertiesHeight: yt,
tablePropertiesPosition: At,
tablePropertiesAlignment: ut,
tablePropertiesCellSpacing: St,
tablePropertiesCellPadding: Tt,
tablePropertiesTableBackground: wt,
tablePropertiesBorderWidth: Bt,
tablePropertiesBorderColor: It,
tablePropertiesBorderStyle: Lt,
tablePropertiesCollapseBorders: Ht,
tablePropertiesId: kt,
tablePropertiesCssClass: vt,
tablePropertiesAccessibility: Wt,
tablePropertiesCaption: Dt,
tablePropertiesCaptionPosition: Ft,
tablePropertiesCaptionAlignment: xt,
tablePropertiesHeaderRows: Mt,
tablePropertiesHeaderCols: Nt,
tablePropertiesAssociateHeaders: Ut,
tablePropertiesGeneral: Et,
tablePropertiesAdvanced: Gt,
tablePropertiesSave: zt,
tablePropertiesCancel: Ot,
borderStyleNone: qt,
borderStyleSolid: Jt,
borderStyleDotted: Vt,
borderStyleDashed: jt,
borderStyleDouble: Kt,
borderStyleGroove: Qt,
borderStyleRidge: Xt,
borderStyleInset: Yt,
borderStyleOutset: Zt,
borderStyleInitial: _t,
borderStyleInherit: $t,
borderStyleHidden: eo,
sizeAuto: to,
listStyleDisc: oo,
listStyleCircle: ro,
listStyleSquare: io,
listStyleDecimal: lo,
listStyleUpperRoman: no,
listStyleLowerRoman: so,
listStyleUpperLatin: co,
listStyleLowerLatin: ao,
toolbarAriaLabel: po
};
export {
Po as keys,
bo as messages
};