trusty-cms 7.0.40 → 7.0.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -41926,7 +41926,6 @@ Original error: ${originalError.name}: ${originalError.message}` : "";
41926
41926
  var settings = '<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M3.734 6.375H1.75a.75.75 0 0 1 0-1.5h1.984a2.626 2.626 0 0 1 5.032 0h9.48a.75.75 0 0 1 0 1.5h-9.48a2.626 2.626 0 0 1-5.032 0Zm1.141-.75a1.375 1.375 0 1 1 2.75 0 1.375 1.375 0 0 1-2.75 0ZM16.263 14.625h1.983a.75.75 0 0 1 0 1.5h-1.983a2.626 2.626 0 0 1-5.033 0H1.75a.75.75 0 0 1 0-1.5h9.48a2.626 2.626 0 0 1 5.033 0Zm-1.142.75a1.375 1.375 0 1 1-2.75 0 1.375 1.375 0 0 1 2.75 0Z"/></svg>\n';
41927
41927
  var showBlocks = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="m6.395 9.196 2.545-.007V6.498a.6.6 0 0 1 .598-.598h.299a.6.6 0 0 1 .598.598v6.877a.6.6 0 0 1-.598.598h-.299a.6.6 0 0 1-.598-.598v-2.691l-2.545.007v2.691a.6.6 0 0 1-.598.598h-.299a.6.6 0 0 1-.598-.598V6.505a.6.6 0 0 1 .598-.598h.299a.6.6 0 0 1 .598.598zm8.699 4.221V6.462a.56.56 0 0 0-.562-.562h-.782a1 1 0 0 0-.39.08l-1.017.43a.56.56 0 0 0-.343.517v.197c0 .4.406.67.775.519l.819-.337v6.111c0 .31.251.562.561.562h.377c.31 0 .562-.251.562-.562M0 15.417v1.5h1.5v-1.5zm18.5 0v1.5H20v-1.5zm0-3.084v1.5H20v-1.5zm0-3.083v1.5H20v-1.5zm0-3.083v1.5H20v-1.5zM0 18.5v.5a1 1 0 0 0 1 1h.5v-1.5zm3.083 0V20h1.5v-1.5zm3.084 0V20h1.5v-1.5zm3.083 0V20h1.5v-1.5zm3.083 0V20h1.5v-1.5zm3.084 0V20h1.5v-1.5zm3.083 0V20h.5a1 1 0 0 0 1-1v-.5z"/><path d="M0 1a1 1 0 0 1 1-1h18a1 1 0 0 1 1 1v3.583h-1.5V1.5h-17v12.333H0z" clip-rule="evenodd"/></svg>';
41928
41928
  var source = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="m12.5 0 5 4.5v15.003h-16V0zM3 1.5v3.25l-1.497 1-.003 8 1.5 1v3.254L7.685 18l-.001 1.504H17.5V8.002L16 9.428l-.004-4.22-4.222-3.692z"/><path d="M4.06 6.64a.75.75 0 0 1 .958 1.15l-.085.07L2.29 9.75l2.646 1.89c.302.216.4.62.232.951l-.058.095a.75.75 0 0 1-.951.232l-.095-.058-3.5-2.5V9.14zm4.194 6.22a.75.75 0 0 1-.958-1.149l.085-.07 2.643-1.89-2.646-1.89a.75.75 0 0 1-.232-.952l.058-.095a.75.75 0 0 1 .95-.232l.096.058 3.5 2.5v1.22zm7.644-.836 2.122 2.122-5.825 5.809-2.125-.005.003-2.116zm2.539-1.847 1.414 1.414a.5.5 0 0 1 0 .707l-1.06 1.06-2.122-2.12 1.061-1.061a.5.5 0 0 1 .707 0"/></svg>';
41929
- var specialCharacters = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M10 2.5a7.47 7.47 0 0 1 4.231 1.31 7.27 7.27 0 0 1 2.703 3.454 7.13 7.13 0 0 1 .199 4.353c-.39 1.436-1.475 2.72-2.633 3.677h2.013c0-.226.092-.443.254-.603a.876.876 0 0 1 1.229 0c.163.16.254.377.254.603v.853c0 .209-.078.41-.22.567a.87.87 0 0 1-.547.28l-.101.006h-4.695a.517.517 0 0 1-.516-.518v-1.265c0-.21.128-.398.317-.489a5.6 5.6 0 0 0 2.492-2.371 5.46 5.46 0 0 0 .552-3.693 5.53 5.53 0 0 0-1.955-3.2A5.7 5.7 0 0 0 10 4.206 5.7 5.7 0 0 0 6.419 5.46 5.53 5.53 0 0 0 4.46 8.663a5.46 5.46 0 0 0 .554 3.695 5.6 5.6 0 0 0 2.497 2.37.55.55 0 0 1 .317.49v1.264c0 .286-.23.518-.516.518H2.618a.88.88 0 0 1-.614-.25.85.85 0 0 1-.254-.603v-.853c0-.226.091-.443.254-.603a.876.876 0 0 1 1.228 0c.163.16.255.377.255.603h1.925c-1.158-.958-2.155-2.241-2.545-3.678a7.13 7.13 0 0 1 .199-4.352 7.27 7.27 0 0 1 2.703-3.455A7.5 7.5 0 0 1 10 2.5"/></svg>';
41930
41929
  var strikethrough = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M7 16.4c-.8-.4-1.5-.9-2.2-1.5a.6.6 0 0 1-.2-.5l.3-.6h1c1 1.2 2.1 1.7 3.7 1.7 1 0 1.8-.3 2.3-.6.6-.4.6-1.2.6-1.3.2-1.2-.9-2.1-.9-2.1h2.1c.3.7.4 1.2.4 1.7v.8l-.6 1.2c-.6.8-1.1 1-1.6 1.2a6 6 0 0 1-2.4.6c-1 0-1.8-.3-2.5-.6M6.8 9 6 8.3c-.4-.5-.5-.8-.5-1.6 0-.7.1-1.3.5-1.8.4-.6 1-1 1.6-1.3a6.3 6.3 0 0 1 4.7 0 4 4 0 0 1 1.7 1l.3.7c0 .1.2.4-.2.7-.4.2-.9.1-1 0a3 3 0 0 0-1.2-1c-.4-.2-1-.3-2-.4-.7 0-1.4.2-2 .6-.8.6-1 .8-1 1.5 0 .8.5 1 1.2 1.5.6.4 1.1.7 1.9 1H6.8z"/><path d="M3 10.5V9h14v1.5z"/></svg>';
41931
41930
  var subscript = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="m7.03 10.349 3.818-3.819a.8.8 0 1 1 1.132 1.132L8.16 11.48l3.819 3.818a.8.8 0 1 1-1.132 1.132L7.03 12.61l-3.818 3.82a.8.8 0 1 1-1.132-1.132L5.9 11.48 2.08 7.662A.8.8 0 1 1 3.212 6.53zm8.147 7.829h2.549q.38 0 .58.152a.49.49 0 0 1 .201.413.54.54 0 0 1-.159.393q-.158.162-.48.162h-3.594q-.367 0-.572-.197a.62.62 0 0 1-.205-.463q0-.171.132-.453a1.6 1.6 0 0 1 .288-.444q.65-.654 1.172-1.122t.747-.615q.401-.275.667-.553t.405-.57.139-.57a1.01 1.01 0 0 0-.554-.917 1.2 1.2 0 0 0-.56-.133q-.639 0-1.005.546a2.3 2.3 0 0 0-.164.39 1.6 1.6 0 0 1-.258.488q-.144.17-.423.17a.56.56 0 0 1-.405-.156.57.57 0 0 1-.161-.427q0-.327.151-.683.152-.357.452-.646c.3-.289.454-.349.762-.467a3 3 0 0 1 1.081-.178q.747 0 1.274.228a1.92 1.92 0 0 1 1.004 1.032 1.98 1.98 0 0 1-.156 1.794q-.3.48-.613.754-.312.273-1.048.857-.735.584-1.008.906a3 3 0 0 0-.24.309z"/></svg>';
41932
41931
  var superscript = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M15.677 8.678h2.549q.38 0 .58.152a.49.49 0 0 1 .201.413.54.54 0 0 1-.159.393q-.158.162-.48.162h-3.594q-.367 0-.572-.197a.62.62 0 0 1-.205-.463q0-.171.132-.453a1.6 1.6 0 0 1 .288-.444q.65-.654 1.172-1.122t.747-.615q.401-.275.667-.553.265-.278.405-.57t.139-.57a1.01 1.01 0 0 0-.554-.917 1.2 1.2 0 0 0-.56-.133q-.639 0-1.005.546a2.3 2.3 0 0 0-.164.39 1.6 1.6 0 0 1-.258.488q-.144.17-.423.17a.56.56 0 0 1-.405-.156.57.57 0 0 1-.161-.427q0-.327.151-.683.152-.357.452-.646c.3-.289.454-.349.762-.467a3 3 0 0 1 1.081-.178q.747 0 1.274.228a1.92 1.92 0 0 1 1.004 1.032 1.98 1.98 0 0 1-.156 1.794q-.3.48-.613.754-.312.273-1.048.857-.735.584-1.008.906a3 3 0 0 0-.24.309zM7.03 10.349l3.818-3.819a.8.8 0 1 1 1.132 1.132L8.16 11.48l3.819 3.818a.8.8 0 1 1-1.132 1.132L7.03 12.61l-3.818 3.82a.8.8 0 1 1-1.132-1.132L5.9 11.48 2.08 7.662A.8.8 0 1 1 3.212 6.53z"/></svg>';
@@ -91558,1777 +91557,6 @@ Original error: ${originalError.name}: ${originalError.message}` : "";
91558
91557
  return input.startsWith("<");
91559
91558
  }
91560
91559
 
91561
- // node_modules/@ckeditor/ckeditor5-special-characters/dist/index.js
91562
- var CharacterGridView = class extends View {
91563
- /**
91564
- * A collection of the child tile views. Each tile represents a particular character.
91565
- */
91566
- tiles;
91567
- /**
91568
- * Tracks information about the DOM focus in the grid.
91569
- */
91570
- focusTracker;
91571
- /**
91572
- * An instance of the {@link module:utils/keystrokehandler~KeystrokeHandler}.
91573
- */
91574
- keystrokes;
91575
- /**
91576
- * Creates an instance of a character grid containing tiles representing special characters.
91577
- *
91578
- * @param locale The localization services instance.
91579
- */
91580
- constructor(locale) {
91581
- super(locale);
91582
- this.tiles = this.createCollection();
91583
- this.setTemplate({
91584
- tag: "div",
91585
- children: [
91586
- {
91587
- tag: "div",
91588
- attributes: {
91589
- class: [
91590
- "ck",
91591
- "ck-character-grid__tiles"
91592
- ]
91593
- },
91594
- children: this.tiles
91595
- }
91596
- ],
91597
- attributes: {
91598
- class: [
91599
- "ck",
91600
- "ck-character-grid"
91601
- ]
91602
- }
91603
- });
91604
- this.focusTracker = new FocusTracker();
91605
- this.keystrokes = new KeystrokeHandler();
91606
- addKeyboardHandlingForGrid({
91607
- keystrokeHandler: this.keystrokes,
91608
- focusTracker: this.focusTracker,
91609
- gridItems: this.tiles,
91610
- numberOfColumns: () => globalVar.window.getComputedStyle(this.element.firstChild).getPropertyValue("grid-template-columns").split(" ").length,
91611
- uiLanguageDirection: this.locale && this.locale.uiLanguageDirection
91612
- });
91613
- }
91614
- /**
91615
- * Creates a new tile for the grid.
91616
- *
91617
- * @param character A human-readable character displayed as the label (e.g. "ε").
91618
- * @param name The name of the character (e.g. "greek small letter epsilon").
91619
- */
91620
- createTile(character, name) {
91621
- const tile = new ButtonView(this.locale);
91622
- tile.set({
91623
- label: character,
91624
- withText: true,
91625
- class: "ck-character-grid__tile"
91626
- });
91627
- tile.extendTemplate({
91628
- attributes: {
91629
- title: name
91630
- },
91631
- on: {
91632
- mouseover: tile.bindTemplate.to("mouseover"),
91633
- focus: tile.bindTemplate.to("focus")
91634
- }
91635
- });
91636
- tile.on("mouseover", () => {
91637
- this.fire("tileHover", {
91638
- name,
91639
- character
91640
- });
91641
- });
91642
- tile.on("focus", () => {
91643
- this.fire("tileFocus", {
91644
- name,
91645
- character
91646
- });
91647
- });
91648
- tile.on("execute", () => {
91649
- this.fire("execute", {
91650
- name,
91651
- character
91652
- });
91653
- });
91654
- return tile;
91655
- }
91656
- /**
91657
- * @inheritDoc
91658
- */
91659
- render() {
91660
- super.render();
91661
- for (const item of this.tiles) {
91662
- this.focusTracker.add(item.element);
91663
- }
91664
- this.tiles.on("change", (eventInfo, { added, removed }) => {
91665
- if (added.length > 0) {
91666
- for (const item of added) {
91667
- this.focusTracker.add(item.element);
91668
- }
91669
- }
91670
- if (removed.length > 0) {
91671
- for (const item of removed) {
91672
- this.focusTracker.remove(item.element);
91673
- }
91674
- }
91675
- });
91676
- this.keystrokes.listenTo(this.element);
91677
- }
91678
- /**
91679
- * @inheritDoc
91680
- */
91681
- destroy() {
91682
- super.destroy();
91683
- this.keystrokes.destroy();
91684
- }
91685
- /**
91686
- * Focuses the first focusable in {@link ~CharacterGridView#tiles}.
91687
- */
91688
- focus() {
91689
- this.tiles.first.focus();
91690
- }
91691
- };
91692
- var CharacterInfoView = class extends View {
91693
- constructor(locale) {
91694
- super(locale);
91695
- const bind = this.bindTemplate;
91696
- this.set("character", null);
91697
- this.set("name", null);
91698
- this.bind("code").to(this, "character", characterToUnicodeString);
91699
- this.setTemplate({
91700
- tag: "div",
91701
- children: [
91702
- {
91703
- tag: "span",
91704
- attributes: {
91705
- class: [
91706
- "ck-character-info__name"
91707
- ]
91708
- },
91709
- children: [
91710
- {
91711
- // Note: ZWSP to prevent vertical collapsing.
91712
- text: bind.to("name", (name) => name ? name : "\u200B")
91713
- }
91714
- ]
91715
- },
91716
- {
91717
- tag: "span",
91718
- attributes: {
91719
- class: [
91720
- "ck-character-info__code"
91721
- ]
91722
- },
91723
- children: [
91724
- {
91725
- text: bind.to("code")
91726
- }
91727
- ]
91728
- }
91729
- ],
91730
- attributes: {
91731
- class: [
91732
- "ck",
91733
- "ck-character-info"
91734
- ]
91735
- }
91736
- });
91737
- }
91738
- };
91739
- function characterToUnicodeString(character) {
91740
- if (character === null) {
91741
- return "";
91742
- }
91743
- const hexCode = character.codePointAt(0).toString(16);
91744
- return "U+" + ("0000" + hexCode).slice(-4);
91745
- }
91746
- var SpecialCharactersView = class extends View {
91747
- /**
91748
- * A collection of the focusable children of the view.
91749
- */
91750
- items;
91751
- /**
91752
- * Tracks information about the DOM focus in the view.
91753
- */
91754
- focusTracker;
91755
- /**
91756
- * An instance of the {@link module:utils/keystrokehandler~KeystrokeHandler}.
91757
- */
91758
- keystrokes;
91759
- /**
91760
- * Helps cycling over focusable {@link #items} in the view.
91761
- */
91762
- _focusCycler;
91763
- /**
91764
- * An instance of the `SpecialCharactersCategoriesView`.
91765
- */
91766
- categoriesView;
91767
- /**
91768
- * An instance of the `CharacterGridView`.
91769
- */
91770
- gridView;
91771
- /**
91772
- * An instance of the `CharacterInfoView`.
91773
- */
91774
- infoView;
91775
- /**
91776
- * Creates an instance of the `SpecialCharactersView`.
91777
- */
91778
- constructor(locale, categoriesView, gridView, infoView) {
91779
- super(locale);
91780
- this.categoriesView = categoriesView;
91781
- this.gridView = gridView;
91782
- this.infoView = infoView;
91783
- this.items = this.createCollection();
91784
- this.focusTracker = new FocusTracker();
91785
- this.keystrokes = new KeystrokeHandler();
91786
- this._focusCycler = new FocusCycler({
91787
- focusables: this.items,
91788
- focusTracker: this.focusTracker,
91789
- keystrokeHandler: this.keystrokes,
91790
- actions: {
91791
- focusPrevious: "shift + tab",
91792
- focusNext: "tab"
91793
- }
91794
- });
91795
- this.setTemplate({
91796
- tag: "div",
91797
- children: [
91798
- this.categoriesView,
91799
- this.gridView,
91800
- this.infoView
91801
- ],
91802
- attributes: {
91803
- // Avoid focus loss when the user clicks the area of the grid that is not a button.
91804
- // https://github.com/ckeditor/ckeditor5/pull/12319#issuecomment-1231779819
91805
- tabindex: "-1"
91806
- }
91807
- });
91808
- this.items.add(this.categoriesView);
91809
- this.items.add(this.gridView);
91810
- }
91811
- /**
91812
- * @inheritDoc
91813
- */
91814
- render() {
91815
- super.render();
91816
- this.focusTracker.add(this.categoriesView.element);
91817
- this.focusTracker.add(this.gridView.element);
91818
- this.keystrokes.listenTo(this.element);
91819
- }
91820
- /**
91821
- * @inheritDoc
91822
- */
91823
- destroy() {
91824
- super.destroy();
91825
- this.focusTracker.destroy();
91826
- this.keystrokes.destroy();
91827
- }
91828
- /**
91829
- * Focuses the first focusable in {@link #items}.
91830
- */
91831
- focus() {
91832
- this._focusCycler.focusFirst();
91833
- }
91834
- };
91835
- var SpecialCharactersCategoriesView = class extends View {
91836
- _groupNames;
91837
- _dropdownView;
91838
- /**
91839
- * Creates an instance of the {@link module:special-characters/ui/specialcharacterscategoriesview~SpecialCharactersCategoriesView}
91840
- * class.
91841
- *
91842
- * @param locale The localization services instance.
91843
- * @param groupNames The names of the character groups.
91844
- */
91845
- constructor(locale, groupNames) {
91846
- super(locale);
91847
- this.set("currentGroupName", Array.from(groupNames.entries())[0][0]);
91848
- this._groupNames = groupNames;
91849
- this._dropdownView = new LabeledFieldView(locale, createLabeledDropdown);
91850
- this.setTemplate({
91851
- tag: "div",
91852
- attributes: {
91853
- class: [
91854
- "ck",
91855
- "ck-character-categories"
91856
- ]
91857
- },
91858
- children: [
91859
- this._dropdownView
91860
- ]
91861
- });
91862
- }
91863
- /**
91864
- * @inheritDoc
91865
- */
91866
- render() {
91867
- super.render();
91868
- this._setupDropdown();
91869
- }
91870
- /**
91871
- * @inheritDoc
91872
- */
91873
- focus() {
91874
- this._dropdownView.focus();
91875
- }
91876
- /**
91877
- * Creates dropdown item list, sets up bindings and fills properties.
91878
- */
91879
- _setupDropdown() {
91880
- const items = new Collection();
91881
- for (const [name, label] of this._groupNames) {
91882
- const item = {
91883
- type: "button",
91884
- model: new UIModel({
91885
- name,
91886
- label,
91887
- role: "menuitemradio",
91888
- withText: true
91889
- })
91890
- };
91891
- item.model.bind("isOn").to(this, "currentGroupName", (value) => {
91892
- return value === name;
91893
- });
91894
- items.add(item);
91895
- }
91896
- const t = this.locale.t;
91897
- const accessibleLabel = t("Category");
91898
- this._dropdownView.set({
91899
- label: accessibleLabel,
91900
- isEmpty: false
91901
- });
91902
- this._dropdownView.fieldView.panelPosition = this.locale.uiLanguageDirection === "rtl" ? "se" : "sw";
91903
- this._dropdownView.fieldView.buttonView.set({
91904
- withText: true,
91905
- tooltip: accessibleLabel,
91906
- ariaLabel: accessibleLabel,
91907
- ariaLabelledBy: void 0,
91908
- isOn: false
91909
- });
91910
- this._dropdownView.fieldView.buttonView.bind("label").to(this, "currentGroupName", (value) => this._groupNames.get(value));
91911
- this._dropdownView.fieldView.on("execute", ({ source: source2 }) => {
91912
- this.currentGroupName = source2.name;
91913
- });
91914
- addListToDropdown(this._dropdownView.fieldView, items, {
91915
- ariaLabel: accessibleLabel,
91916
- role: "menu"
91917
- });
91918
- }
91919
- };
91920
- var ALL_SPECIAL_CHARACTERS_GROUP = "All";
91921
- var SpecialCharacters = class extends Plugin {
91922
- /**
91923
- * Registered characters. A pair of a character name and its symbol.
91924
- */
91925
- _characters;
91926
- /**
91927
- * Registered groups. Each group contains a displayed label and a collection with symbol names.
91928
- */
91929
- _groups;
91930
- /**
91931
- * A label describing the "All" special characters category.
91932
- */
91933
- _allSpecialCharactersGroupLabel;
91934
- /**
91935
- * @inheritDoc
91936
- */
91937
- static get requires() {
91938
- return [
91939
- Typing,
91940
- Dialog
91941
- ];
91942
- }
91943
- /**
91944
- * @inheritDoc
91945
- */
91946
- static get pluginName() {
91947
- return "SpecialCharacters";
91948
- }
91949
- /**
91950
- * @inheritDoc
91951
- */
91952
- static get isOfficialPlugin() {
91953
- return true;
91954
- }
91955
- /**
91956
- * @inheritDoc
91957
- */
91958
- constructor(editor) {
91959
- super(editor);
91960
- const t = editor.t;
91961
- this._characters = /* @__PURE__ */ new Map();
91962
- this._groups = /* @__PURE__ */ new Map();
91963
- this._allSpecialCharactersGroupLabel = t("All");
91964
- }
91965
- /**
91966
- * @inheritDoc
91967
- */
91968
- init() {
91969
- const editor = this.editor;
91970
- editor.ui.componentFactory.add("specialCharacters", () => {
91971
- const button = this._createDialogButton(ButtonView);
91972
- button.set({
91973
- tooltip: true
91974
- });
91975
- return button;
91976
- });
91977
- editor.ui.componentFactory.add("menuBar:specialCharacters", () => {
91978
- return this._createDialogButton(MenuBarMenuListItemButtonView);
91979
- });
91980
- }
91981
- /**
91982
- * Adds a collection of special characters to the specified group. The title of a special character must be unique.
91983
- *
91984
- * **Note:** The "All" category name is reserved by the plugin and cannot be used as a new name for a special
91985
- * characters category.
91986
- */
91987
- addItems(groupName, items, options = {
91988
- label: groupName
91989
- }) {
91990
- if (groupName === ALL_SPECIAL_CHARACTERS_GROUP) {
91991
- throw new CKEditorError("special-character-invalid-group-name", null);
91992
- }
91993
- const group = this._getGroup(groupName, options.label);
91994
- for (const item of items) {
91995
- group.items.add(item.title);
91996
- this._characters.set(item.title, item.character);
91997
- }
91998
- }
91999
- /**
92000
- * Returns special character groups in an order determined based on configuration and registration sequence.
92001
- */
92002
- getGroups() {
92003
- const groups = Array.from(this._groups.keys());
92004
- const order = this.editor.config.get("specialCharacters.order") || [];
92005
- const invalidGroup = order.find((item) => !groups.includes(item));
92006
- if (invalidGroup) {
92007
- throw new CKEditorError("special-character-invalid-order-group-name", null, {
92008
- invalidGroup
92009
- });
92010
- }
92011
- return /* @__PURE__ */ new Set([
92012
- ...order,
92013
- ...groups
92014
- ]);
92015
- }
92016
- /**
92017
- * Returns a collection of special characters symbol names (titles).
92018
- */
92019
- getCharactersForGroup(groupName) {
92020
- if (groupName === ALL_SPECIAL_CHARACTERS_GROUP) {
92021
- return new Set(this._characters.keys());
92022
- }
92023
- const group = this._groups.get(groupName);
92024
- if (group) {
92025
- return group.items;
92026
- }
92027
- }
92028
- /**
92029
- * Returns the symbol of a special character for the specified name. If the special character could not be found, `undefined`
92030
- * is returned.
92031
- *
92032
- * @param title The title of a special character.
92033
- */
92034
- getCharacter(title) {
92035
- return this._characters.get(title);
92036
- }
92037
- /**
92038
- * Returns a group of special characters. If the group with the specified name does not exist, it will be created.
92039
- *
92040
- * @param groupName The name of the group to create.
92041
- * @param label The label describing the new group.
92042
- */
92043
- _getGroup(groupName, label) {
92044
- if (!this._groups.has(groupName)) {
92045
- this._groups.set(groupName, {
92046
- items: /* @__PURE__ */ new Set(),
92047
- label
92048
- });
92049
- }
92050
- return this._groups.get(groupName);
92051
- }
92052
- /**
92053
- * Updates the symbol grid depending on the currently selected character group.
92054
- */
92055
- _updateGrid(currentGroupName, gridView) {
92056
- gridView.tiles.clear();
92057
- const characterTitles = this.getCharactersForGroup(currentGroupName);
92058
- for (const title of characterTitles) {
92059
- const character = this.getCharacter(title);
92060
- gridView.tiles.add(gridView.createTile(character, title));
92061
- }
92062
- }
92063
- /**
92064
- * Initializes the dropdown, used for lazy loading.
92065
- *
92066
- * @returns An object with `categoriesView`, `gridView` and `infoView` properties, containing UI parts.
92067
- */
92068
- _createDropdownPanelContent(locale) {
92069
- const groupEntries = Array.from(this.getGroups()).map((name) => [
92070
- name,
92071
- this._groups.get(name).label
92072
- ]);
92073
- const specialCharsGroups = new Map([
92074
- // Add a special group that shows all available special characters.
92075
- [
92076
- ALL_SPECIAL_CHARACTERS_GROUP,
92077
- this._allSpecialCharactersGroupLabel
92078
- ],
92079
- ...groupEntries
92080
- ]);
92081
- const categoriesView = new SpecialCharactersCategoriesView(locale, specialCharsGroups);
92082
- const gridView = new CharacterGridView(locale);
92083
- const infoView = new CharacterInfoView(locale);
92084
- gridView.on("tileHover", (evt, data) => {
92085
- infoView.set(data);
92086
- });
92087
- gridView.on("tileFocus", (evt, data) => {
92088
- infoView.set(data);
92089
- });
92090
- categoriesView.on("change:currentGroupName", (evt, propertyName, newValue) => {
92091
- this._updateGrid(newValue, gridView);
92092
- });
92093
- this._updateGrid(categoriesView.currentGroupName, gridView);
92094
- return {
92095
- categoriesView,
92096
- gridView,
92097
- infoView
92098
- };
92099
- }
92100
- /**
92101
- * Creates a button for toolbar and menu bar that will show special characters dialog.
92102
- */
92103
- _createDialogButton(ButtonClass) {
92104
- const editor = this.editor;
92105
- const locale = editor.locale;
92106
- const buttonView = new ButtonClass(editor.locale);
92107
- const command = editor.commands.get("insertText");
92108
- const t = locale.t;
92109
- const dialogPlugin = this.editor.plugins.get("Dialog");
92110
- buttonView.set({
92111
- label: t("Special characters"),
92112
- icon: specialCharacters,
92113
- isToggleable: true
92114
- });
92115
- buttonView.bind("isOn").to(dialogPlugin, "id", (id) => id === "specialCharacters");
92116
- buttonView.bind("isEnabled").to(command, "isEnabled");
92117
- buttonView.on("execute", () => {
92118
- if (dialogPlugin.id === "specialCharacters") {
92119
- dialogPlugin.hide();
92120
- return;
92121
- }
92122
- this._showDialog();
92123
- });
92124
- return buttonView;
92125
- }
92126
- _showDialog() {
92127
- const editor = this.editor;
92128
- const dialog = editor.plugins.get("Dialog");
92129
- const locale = editor.locale;
92130
- const t = locale.t;
92131
- const { categoriesView, gridView, infoView } = this._createDropdownPanelContent(locale);
92132
- const content = new SpecialCharactersView(locale, categoriesView, gridView, infoView);
92133
- gridView.on("execute", (evt, data) => {
92134
- editor.execute("insertText", {
92135
- text: data.character
92136
- });
92137
- });
92138
- dialog.show({
92139
- id: "specialCharacters",
92140
- title: t("Special characters"),
92141
- className: "ck-special-characters",
92142
- content,
92143
- position: DialogViewPosition.EDITOR_TOP_SIDE
92144
- });
92145
- }
92146
- };
92147
- var SpecialCharactersArrows = class extends Plugin {
92148
- /**
92149
- * @inheritDoc
92150
- */
92151
- static get pluginName() {
92152
- return "SpecialCharactersArrows";
92153
- }
92154
- /**
92155
- * @inheritDoc
92156
- */
92157
- static get isOfficialPlugin() {
92158
- return true;
92159
- }
92160
- /**
92161
- * @inheritDoc
92162
- */
92163
- init() {
92164
- const editor = this.editor;
92165
- const t = editor.t;
92166
- const plugin = editor.plugins.get("SpecialCharacters");
92167
- plugin.addItems("Arrows", [
92168
- {
92169
- title: t("leftwards simple arrow"),
92170
- character: "\u2190"
92171
- },
92172
- {
92173
- title: t("rightwards simple arrow"),
92174
- character: "\u2192"
92175
- },
92176
- {
92177
- title: t("upwards simple arrow"),
92178
- character: "\u2191"
92179
- },
92180
- {
92181
- title: t("downwards simple arrow"),
92182
- character: "\u2193"
92183
- },
92184
- {
92185
- title: t("leftwards double arrow"),
92186
- character: "\u21D0"
92187
- },
92188
- {
92189
- title: t("rightwards double arrow"),
92190
- character: "\u21D2"
92191
- },
92192
- {
92193
- title: t("upwards double arrow"),
92194
- character: "\u21D1"
92195
- },
92196
- {
92197
- title: t("downwards double arrow"),
92198
- character: "\u21D3"
92199
- },
92200
- {
92201
- title: t("leftwards dashed arrow"),
92202
- character: "\u21E0"
92203
- },
92204
- {
92205
- title: t("rightwards dashed arrow"),
92206
- character: "\u21E2"
92207
- },
92208
- {
92209
- title: t("upwards dashed arrow"),
92210
- character: "\u21E1"
92211
- },
92212
- {
92213
- title: t("downwards dashed arrow"),
92214
- character: "\u21E3"
92215
- },
92216
- {
92217
- title: t("leftwards arrow to bar"),
92218
- character: "\u21E4"
92219
- },
92220
- {
92221
- title: t("rightwards arrow to bar"),
92222
- character: "\u21E5"
92223
- },
92224
- {
92225
- title: t("upwards arrow to bar"),
92226
- character: "\u2912"
92227
- },
92228
- {
92229
- title: t("downwards arrow to bar"),
92230
- character: "\u2913"
92231
- },
92232
- {
92233
- title: t("up down arrow with base"),
92234
- character: "\u21A8"
92235
- },
92236
- {
92237
- title: t("back with leftwards arrow above"),
92238
- character: "\u{1F519}"
92239
- },
92240
- {
92241
- title: t("end with leftwards arrow above"),
92242
- character: "\u{1F51A}"
92243
- },
92244
- {
92245
- title: t("on with exclamation mark with left right arrow above"),
92246
- character: "\u{1F51B}"
92247
- },
92248
- {
92249
- title: t("soon with rightwards arrow above"),
92250
- character: "\u{1F51C}"
92251
- },
92252
- {
92253
- title: t("top with upwards arrow above"),
92254
- character: "\u{1F51D}"
92255
- }
92256
- ], {
92257
- label: t("Arrows")
92258
- });
92259
- }
92260
- };
92261
- var SpecialCharactersText = class extends Plugin {
92262
- /**
92263
- * @inheritDoc
92264
- */
92265
- static get pluginName() {
92266
- return "SpecialCharactersText";
92267
- }
92268
- /**
92269
- * @inheritDoc
92270
- */
92271
- static get isOfficialPlugin() {
92272
- return true;
92273
- }
92274
- /**
92275
- * @inheritDoc
92276
- */
92277
- init() {
92278
- const editor = this.editor;
92279
- const t = editor.t;
92280
- const plugin = editor.plugins.get("SpecialCharacters");
92281
- plugin.addItems("Text", [
92282
- {
92283
- character: "\u2039",
92284
- title: t("Single left-pointing angle quotation mark")
92285
- },
92286
- {
92287
- character: "\u203A",
92288
- title: t("Single right-pointing angle quotation mark")
92289
- },
92290
- {
92291
- character: "\xAB",
92292
- title: t("Left-pointing double angle quotation mark")
92293
- },
92294
- {
92295
- character: "\xBB",
92296
- title: t("Right-pointing double angle quotation mark")
92297
- },
92298
- {
92299
- character: "\u2018",
92300
- title: t("Left single quotation mark")
92301
- },
92302
- {
92303
- character: "\u2019",
92304
- title: t("Right single quotation mark")
92305
- },
92306
- {
92307
- character: "\u201C",
92308
- title: t("Left double quotation mark")
92309
- },
92310
- {
92311
- character: "\u201D",
92312
- title: t("Right double quotation mark")
92313
- },
92314
- {
92315
- character: "\u201A",
92316
- title: t("Single low-9 quotation mark")
92317
- },
92318
- {
92319
- character: "\u201E",
92320
- title: t("Double low-9 quotation mark")
92321
- },
92322
- {
92323
- character: "\xA1",
92324
- title: t("Inverted exclamation mark")
92325
- },
92326
- {
92327
- character: "\xBF",
92328
- title: t("Inverted question mark")
92329
- },
92330
- {
92331
- character: "\u2025",
92332
- title: t("Two dot leader")
92333
- },
92334
- {
92335
- character: "\u2026",
92336
- title: t("Horizontal ellipsis")
92337
- },
92338
- {
92339
- character: "\u2021",
92340
- title: t("Double dagger")
92341
- },
92342
- {
92343
- character: "\u2030",
92344
- title: t("Per mille sign")
92345
- },
92346
- {
92347
- character: "\u2031",
92348
- title: t("Per ten thousand sign")
92349
- },
92350
- {
92351
- character: "\u203C",
92352
- title: t("Double exclamation mark")
92353
- },
92354
- {
92355
- character: "\u2048",
92356
- title: t("Question exclamation mark")
92357
- },
92358
- {
92359
- character: "\u2049",
92360
- title: t("Exclamation question mark")
92361
- },
92362
- {
92363
- character: "\u2047",
92364
- title: t("Double question mark")
92365
- },
92366
- {
92367
- character: "\xA9",
92368
- title: t("Copyright sign")
92369
- },
92370
- {
92371
- character: "\xAE",
92372
- title: t("Registered sign")
92373
- },
92374
- {
92375
- character: "\u2122",
92376
- title: t("Trade mark sign")
92377
- },
92378
- {
92379
- character: "\xA7",
92380
- title: t("Section sign")
92381
- },
92382
- {
92383
- character: "\xB6",
92384
- title: t("Paragraph sign")
92385
- },
92386
- {
92387
- character: "\u204B",
92388
- title: t("Reversed paragraph sign")
92389
- }
92390
- ], {
92391
- label: t("Text")
92392
- });
92393
- }
92394
- };
92395
- var SpecialCharactersMathematical = class extends Plugin {
92396
- /**
92397
- * @inheritDoc
92398
- */
92399
- static get pluginName() {
92400
- return "SpecialCharactersMathematical";
92401
- }
92402
- /**
92403
- * @inheritDoc
92404
- */
92405
- static get isOfficialPlugin() {
92406
- return true;
92407
- }
92408
- /**
92409
- * @inheritDoc
92410
- */
92411
- init() {
92412
- const editor = this.editor;
92413
- const t = editor.t;
92414
- const plugin = editor.plugins.get("SpecialCharacters");
92415
- plugin.addItems("Mathematical", [
92416
- {
92417
- character: "<",
92418
- title: t("Less-than sign")
92419
- },
92420
- {
92421
- character: ">",
92422
- title: t("Greater-than sign")
92423
- },
92424
- {
92425
- character: "\u2264",
92426
- title: t("Less-than or equal to")
92427
- },
92428
- {
92429
- character: "\u2265",
92430
- title: t("Greater-than or equal to")
92431
- },
92432
- {
92433
- character: "\u2013",
92434
- title: t("En dash")
92435
- },
92436
- {
92437
- character: "\u2014",
92438
- title: t("Em dash")
92439
- },
92440
- {
92441
- character: "\xAF",
92442
- title: t("Macron")
92443
- },
92444
- {
92445
- character: "\u203E",
92446
- title: t("Overline")
92447
- },
92448
- {
92449
- character: "\xB0",
92450
- title: t("Degree sign")
92451
- },
92452
- {
92453
- character: "\u2212",
92454
- title: t("Minus sign")
92455
- },
92456
- {
92457
- character: "\xB1",
92458
- title: t("Plus-minus sign")
92459
- },
92460
- {
92461
- character: "\xF7",
92462
- title: t("Division sign")
92463
- },
92464
- {
92465
- character: "\u2044",
92466
- title: t("Fraction slash")
92467
- },
92468
- {
92469
- character: "\xD7",
92470
- title: t("Multiplication sign")
92471
- },
92472
- {
92473
- character: "\u0192",
92474
- title: t("Latin small letter f with hook")
92475
- },
92476
- {
92477
- character: "\u222B",
92478
- title: t("Integral")
92479
- },
92480
- {
92481
- character: "\u2211",
92482
- title: t("N-ary summation")
92483
- },
92484
- {
92485
- character: "\u221E",
92486
- title: t("Infinity")
92487
- },
92488
- {
92489
- character: "\u221A",
92490
- title: t("Square root")
92491
- },
92492
- {
92493
- character: "\u223C",
92494
- title: t("Tilde operator")
92495
- },
92496
- {
92497
- character: "\u2245",
92498
- title: t("Approximately equal to")
92499
- },
92500
- {
92501
- character: "\u2248",
92502
- title: t("Almost equal to")
92503
- },
92504
- {
92505
- character: "\u2260",
92506
- title: t("Not equal to")
92507
- },
92508
- {
92509
- character: "\u2261",
92510
- title: t("Identical to")
92511
- },
92512
- {
92513
- character: "\u2208",
92514
- title: t("Element of")
92515
- },
92516
- {
92517
- character: "\u2209",
92518
- title: t("Not an element of")
92519
- },
92520
- {
92521
- character: "\u220B",
92522
- title: t("Contains as member")
92523
- },
92524
- {
92525
- character: "\u220F",
92526
- title: t("N-ary product")
92527
- },
92528
- {
92529
- character: "\u2227",
92530
- title: t("Logical and")
92531
- },
92532
- {
92533
- character: "\u2228",
92534
- title: t("Logical or")
92535
- },
92536
- {
92537
- character: "\xAC",
92538
- title: t("Not sign")
92539
- },
92540
- {
92541
- character: "\u2229",
92542
- title: t("Intersection")
92543
- },
92544
- {
92545
- character: "\u222A",
92546
- title: t("Union")
92547
- },
92548
- {
92549
- character: "\u2202",
92550
- title: t("Partial differential")
92551
- },
92552
- {
92553
- character: "\u2200",
92554
- title: t("For all")
92555
- },
92556
- {
92557
- character: "\u2203",
92558
- title: t("There exists")
92559
- },
92560
- {
92561
- character: "\u2205",
92562
- title: t("Empty set")
92563
- },
92564
- {
92565
- character: "\u2207",
92566
- title: t("Nabla")
92567
- },
92568
- {
92569
- character: "\u2217",
92570
- title: t("Asterisk operator")
92571
- },
92572
- {
92573
- character: "\u221D",
92574
- title: t("Proportional to")
92575
- },
92576
- {
92577
- character: "\u2220",
92578
- title: t("Angle")
92579
- },
92580
- {
92581
- character: "\xBC",
92582
- title: t("Vulgar fraction one quarter")
92583
- },
92584
- {
92585
- character: "\xBD",
92586
- title: t("Vulgar fraction one half")
92587
- },
92588
- {
92589
- character: "\xBE",
92590
- title: t("Vulgar fraction three quarters")
92591
- }
92592
- ], {
92593
- label: t("Mathematical")
92594
- });
92595
- }
92596
- };
92597
- var SpecialCharactersLatin = class extends Plugin {
92598
- /**
92599
- * @inheritDoc
92600
- */
92601
- static get pluginName() {
92602
- return "SpecialCharactersLatin";
92603
- }
92604
- /**
92605
- * @inheritDoc
92606
- */
92607
- static get isOfficialPlugin() {
92608
- return true;
92609
- }
92610
- /**
92611
- * @inheritDoc
92612
- */
92613
- init() {
92614
- const editor = this.editor;
92615
- const t = editor.t;
92616
- const plugin = editor.plugins.get("SpecialCharacters");
92617
- plugin.addItems("Latin", [
92618
- {
92619
- character: "\u0100",
92620
- title: t("Latin capital letter a with macron")
92621
- },
92622
- {
92623
- character: "\u0101",
92624
- title: t("Latin small letter a with macron")
92625
- },
92626
- {
92627
- character: "\u0102",
92628
- title: t("Latin capital letter a with breve")
92629
- },
92630
- {
92631
- character: "\u0103",
92632
- title: t("Latin small letter a with breve")
92633
- },
92634
- {
92635
- character: "\u0104",
92636
- title: t("Latin capital letter a with ogonek")
92637
- },
92638
- {
92639
- character: "\u0105",
92640
- title: t("Latin small letter a with ogonek")
92641
- },
92642
- {
92643
- character: "\u0106",
92644
- title: t("Latin capital letter c with acute")
92645
- },
92646
- {
92647
- character: "\u0107",
92648
- title: t("Latin small letter c with acute")
92649
- },
92650
- {
92651
- character: "\u0108",
92652
- title: t("Latin capital letter c with circumflex")
92653
- },
92654
- {
92655
- character: "\u0109",
92656
- title: t("Latin small letter c with circumflex")
92657
- },
92658
- {
92659
- character: "\u010A",
92660
- title: t("Latin capital letter c with dot above")
92661
- },
92662
- {
92663
- character: "\u010B",
92664
- title: t("Latin small letter c with dot above")
92665
- },
92666
- {
92667
- character: "\u010C",
92668
- title: t("Latin capital letter c with caron")
92669
- },
92670
- {
92671
- character: "\u010D",
92672
- title: t("Latin small letter c with caron")
92673
- },
92674
- {
92675
- character: "\u010E",
92676
- title: t("Latin capital letter d with caron")
92677
- },
92678
- {
92679
- character: "\u010F",
92680
- title: t("Latin small letter d with caron")
92681
- },
92682
- {
92683
- character: "\u0110",
92684
- title: t("Latin capital letter d with stroke")
92685
- },
92686
- {
92687
- character: "\u0111",
92688
- title: t("Latin small letter d with stroke")
92689
- },
92690
- {
92691
- character: "\u0112",
92692
- title: t("Latin capital letter e with macron")
92693
- },
92694
- {
92695
- character: "\u0113",
92696
- title: t("Latin small letter e with macron")
92697
- },
92698
- {
92699
- character: "\u0114",
92700
- title: t("Latin capital letter e with breve")
92701
- },
92702
- {
92703
- character: "\u0115",
92704
- title: t("Latin small letter e with breve")
92705
- },
92706
- {
92707
- character: "\u0116",
92708
- title: t("Latin capital letter e with dot above")
92709
- },
92710
- {
92711
- character: "\u0117",
92712
- title: t("Latin small letter e with dot above")
92713
- },
92714
- {
92715
- character: "\u0118",
92716
- title: t("Latin capital letter e with ogonek")
92717
- },
92718
- {
92719
- character: "\u0119",
92720
- title: t("Latin small letter e with ogonek")
92721
- },
92722
- {
92723
- character: "\u011A",
92724
- title: t("Latin capital letter e with caron")
92725
- },
92726
- {
92727
- character: "\u011B",
92728
- title: t("Latin small letter e with caron")
92729
- },
92730
- {
92731
- character: "\u011C",
92732
- title: t("Latin capital letter g with circumflex")
92733
- },
92734
- {
92735
- character: "\u011D",
92736
- title: t("Latin small letter g with circumflex")
92737
- },
92738
- {
92739
- character: "\u011E",
92740
- title: t("Latin capital letter g with breve")
92741
- },
92742
- {
92743
- character: "\u011F",
92744
- title: t("Latin small letter g with breve")
92745
- },
92746
- {
92747
- character: "\u0120",
92748
- title: t("Latin capital letter g with dot above")
92749
- },
92750
- {
92751
- character: "\u0121",
92752
- title: t("Latin small letter g with dot above")
92753
- },
92754
- {
92755
- character: "\u0122",
92756
- title: t("Latin capital letter g with cedilla")
92757
- },
92758
- {
92759
- character: "\u0123",
92760
- title: t("Latin small letter g with cedilla")
92761
- },
92762
- {
92763
- character: "\u0124",
92764
- title: t("Latin capital letter h with circumflex")
92765
- },
92766
- {
92767
- character: "\u0125",
92768
- title: t("Latin small letter h with circumflex")
92769
- },
92770
- {
92771
- character: "\u0126",
92772
- title: t("Latin capital letter h with stroke")
92773
- },
92774
- {
92775
- character: "\u0127",
92776
- title: t("Latin small letter h with stroke")
92777
- },
92778
- {
92779
- character: "\u0128",
92780
- title: t("Latin capital letter i with tilde")
92781
- },
92782
- {
92783
- character: "\u0129",
92784
- title: t("Latin small letter i with tilde")
92785
- },
92786
- {
92787
- character: "\u012A",
92788
- title: t("Latin capital letter i with macron")
92789
- },
92790
- {
92791
- character: "\u012B",
92792
- title: t("Latin small letter i with macron")
92793
- },
92794
- {
92795
- character: "\u012C",
92796
- title: t("Latin capital letter i with breve")
92797
- },
92798
- {
92799
- character: "\u012D",
92800
- title: t("Latin small letter i with breve")
92801
- },
92802
- {
92803
- character: "\u012E",
92804
- title: t("Latin capital letter i with ogonek")
92805
- },
92806
- {
92807
- character: "\u012F",
92808
- title: t("Latin small letter i with ogonek")
92809
- },
92810
- {
92811
- character: "\u0130",
92812
- title: t("Latin capital letter i with dot above")
92813
- },
92814
- {
92815
- character: "\u0131",
92816
- title: t("Latin small letter dotless i")
92817
- },
92818
- {
92819
- character: "\u0132",
92820
- title: t("Latin capital ligature ij")
92821
- },
92822
- {
92823
- character: "\u0133",
92824
- title: t("Latin small ligature ij")
92825
- },
92826
- {
92827
- character: "\u0134",
92828
- title: t("Latin capital letter j with circumflex")
92829
- },
92830
- {
92831
- character: "\u0135",
92832
- title: t("Latin small letter j with circumflex")
92833
- },
92834
- {
92835
- character: "\u0136",
92836
- title: t("Latin capital letter k with cedilla")
92837
- },
92838
- {
92839
- character: "\u0137",
92840
- title: t("Latin small letter k with cedilla")
92841
- },
92842
- {
92843
- character: "\u0138",
92844
- title: t("Latin small letter kra")
92845
- },
92846
- {
92847
- character: "\u0139",
92848
- title: t("Latin capital letter l with acute")
92849
- },
92850
- {
92851
- character: "\u013A",
92852
- title: t("Latin small letter l with acute")
92853
- },
92854
- {
92855
- character: "\u013B",
92856
- title: t("Latin capital letter l with cedilla")
92857
- },
92858
- {
92859
- character: "\u013C",
92860
- title: t("Latin small letter l with cedilla")
92861
- },
92862
- {
92863
- character: "\u013D",
92864
- title: t("Latin capital letter l with caron")
92865
- },
92866
- {
92867
- character: "\u013E",
92868
- title: t("Latin small letter l with caron")
92869
- },
92870
- {
92871
- character: "\u013F",
92872
- title: t("Latin capital letter l with middle dot")
92873
- },
92874
- {
92875
- character: "\u0140",
92876
- title: t("Latin small letter l with middle dot")
92877
- },
92878
- {
92879
- character: "\u0141",
92880
- title: t("Latin capital letter l with stroke")
92881
- },
92882
- {
92883
- character: "\u0142",
92884
- title: t("Latin small letter l with stroke")
92885
- },
92886
- {
92887
- character: "\u0143",
92888
- title: t("Latin capital letter n with acute")
92889
- },
92890
- {
92891
- character: "\u0144",
92892
- title: t("Latin small letter n with acute")
92893
- },
92894
- {
92895
- character: "\u0145",
92896
- title: t("Latin capital letter n with cedilla")
92897
- },
92898
- {
92899
- character: "\u0146",
92900
- title: t("Latin small letter n with cedilla")
92901
- },
92902
- {
92903
- character: "\u0147",
92904
- title: t("Latin capital letter n with caron")
92905
- },
92906
- {
92907
- character: "\u0148",
92908
- title: t("Latin small letter n with caron")
92909
- },
92910
- {
92911
- character: "\u0149",
92912
- title: t("Latin small letter n preceded by apostrophe")
92913
- },
92914
- {
92915
- character: "\u014A",
92916
- title: t("Latin capital letter eng")
92917
- },
92918
- {
92919
- character: "\u014B",
92920
- title: t("Latin small letter eng")
92921
- },
92922
- {
92923
- character: "\u014C",
92924
- title: t("Latin capital letter o with macron")
92925
- },
92926
- {
92927
- character: "\u014D",
92928
- title: t("Latin small letter o with macron")
92929
- },
92930
- {
92931
- character: "\u014E",
92932
- title: t("Latin capital letter o with breve")
92933
- },
92934
- {
92935
- character: "\u014F",
92936
- title: t("Latin small letter o with breve")
92937
- },
92938
- {
92939
- character: "\u0150",
92940
- title: t("Latin capital letter o with double acute")
92941
- },
92942
- {
92943
- character: "\u0151",
92944
- title: t("Latin small letter o with double acute")
92945
- },
92946
- {
92947
- character: "\u0152",
92948
- title: t("Latin capital ligature oe")
92949
- },
92950
- {
92951
- character: "\u0153",
92952
- title: t("Latin small ligature oe")
92953
- },
92954
- {
92955
- character: "\u0154",
92956
- title: t("Latin capital letter r with acute")
92957
- },
92958
- {
92959
- character: "\u0155",
92960
- title: t("Latin small letter r with acute")
92961
- },
92962
- {
92963
- character: "\u0156",
92964
- title: t("Latin capital letter r with cedilla")
92965
- },
92966
- {
92967
- character: "\u0157",
92968
- title: t("Latin small letter r with cedilla")
92969
- },
92970
- {
92971
- character: "\u0158",
92972
- title: t("Latin capital letter r with caron")
92973
- },
92974
- {
92975
- character: "\u0159",
92976
- title: t("Latin small letter r with caron")
92977
- },
92978
- {
92979
- character: "\u015A",
92980
- title: t("Latin capital letter s with acute")
92981
- },
92982
- {
92983
- character: "\u015B",
92984
- title: t("Latin small letter s with acute")
92985
- },
92986
- {
92987
- character: "\u015C",
92988
- title: t("Latin capital letter s with circumflex")
92989
- },
92990
- {
92991
- character: "\u015D",
92992
- title: t("Latin small letter s with circumflex")
92993
- },
92994
- {
92995
- character: "\u015E",
92996
- title: t("Latin capital letter s with cedilla")
92997
- },
92998
- {
92999
- character: "\u015F",
93000
- title: t("Latin small letter s with cedilla")
93001
- },
93002
- {
93003
- character: "\u0160",
93004
- title: t("Latin capital letter s with caron")
93005
- },
93006
- {
93007
- character: "\u0161",
93008
- title: t("Latin small letter s with caron")
93009
- },
93010
- {
93011
- character: "\u0162",
93012
- title: t("Latin capital letter t with cedilla")
93013
- },
93014
- {
93015
- character: "\u0163",
93016
- title: t("Latin small letter t with cedilla")
93017
- },
93018
- {
93019
- character: "\u0164",
93020
- title: t("Latin capital letter t with caron")
93021
- },
93022
- {
93023
- character: "\u0165",
93024
- title: t("Latin small letter t with caron")
93025
- },
93026
- {
93027
- character: "\u0166",
93028
- title: t("Latin capital letter t with stroke")
93029
- },
93030
- {
93031
- character: "\u0167",
93032
- title: t("Latin small letter t with stroke")
93033
- },
93034
- {
93035
- character: "\u0168",
93036
- title: t("Latin capital letter u with tilde")
93037
- },
93038
- {
93039
- character: "\u0169",
93040
- title: t("Latin small letter u with tilde")
93041
- },
93042
- {
93043
- character: "\u016A",
93044
- title: t("Latin capital letter u with macron")
93045
- },
93046
- {
93047
- character: "\u016B",
93048
- title: t("Latin small letter u with macron")
93049
- },
93050
- {
93051
- character: "\u016C",
93052
- title: t("Latin capital letter u with breve")
93053
- },
93054
- {
93055
- character: "\u016D",
93056
- title: t("Latin small letter u with breve")
93057
- },
93058
- {
93059
- character: "\u016E",
93060
- title: t("Latin capital letter u with ring above")
93061
- },
93062
- {
93063
- character: "\u016F",
93064
- title: t("Latin small letter u with ring above")
93065
- },
93066
- {
93067
- character: "\u0170",
93068
- title: t("Latin capital letter u with double acute")
93069
- },
93070
- {
93071
- character: "\u0171",
93072
- title: t("Latin small letter u with double acute")
93073
- },
93074
- {
93075
- character: "\u0172",
93076
- title: t("Latin capital letter u with ogonek")
93077
- },
93078
- {
93079
- character: "\u0173",
93080
- title: t("Latin small letter u with ogonek")
93081
- },
93082
- {
93083
- character: "\u0174",
93084
- title: t("Latin capital letter w with circumflex")
93085
- },
93086
- {
93087
- character: "\u0175",
93088
- title: t("Latin small letter w with circumflex")
93089
- },
93090
- {
93091
- character: "\u0176",
93092
- title: t("Latin capital letter y with circumflex")
93093
- },
93094
- {
93095
- character: "\u0177",
93096
- title: t("Latin small letter y with circumflex")
93097
- },
93098
- {
93099
- character: "\u0178",
93100
- title: t("Latin capital letter y with diaeresis")
93101
- },
93102
- {
93103
- character: "\u0179",
93104
- title: t("Latin capital letter z with acute")
93105
- },
93106
- {
93107
- character: "\u017A",
93108
- title: t("Latin small letter z with acute")
93109
- },
93110
- {
93111
- character: "\u017B",
93112
- title: t("Latin capital letter z with dot above")
93113
- },
93114
- {
93115
- character: "\u017C",
93116
- title: t("Latin small letter z with dot above")
93117
- },
93118
- {
93119
- character: "\u017D",
93120
- title: t("Latin capital letter z with caron")
93121
- },
93122
- {
93123
- character: "\u017E",
93124
- title: t("Latin small letter z with caron")
93125
- },
93126
- {
93127
- character: "\u017F",
93128
- title: t("Latin small letter long s")
93129
- }
93130
- ], {
93131
- label: t("Latin")
93132
- });
93133
- }
93134
- };
93135
- var SpecialCharactersCurrency = class extends Plugin {
93136
- /**
93137
- * @inheritDoc
93138
- */
93139
- static get pluginName() {
93140
- return "SpecialCharactersCurrency";
93141
- }
93142
- /**
93143
- * @inheritDoc
93144
- */
93145
- static get isOfficialPlugin() {
93146
- return true;
93147
- }
93148
- /**
93149
- * @inheritDoc
93150
- */
93151
- init() {
93152
- const editor = this.editor;
93153
- const t = editor.t;
93154
- const plugin = editor.plugins.get("SpecialCharacters");
93155
- plugin.addItems("Currency", [
93156
- {
93157
- character: "$",
93158
- title: t("Dollar sign")
93159
- },
93160
- {
93161
- character: "\u20AC",
93162
- title: t("Euro sign")
93163
- },
93164
- {
93165
- character: "\xA5",
93166
- title: t("Yen sign")
93167
- },
93168
- {
93169
- character: "\xA3",
93170
- title: t("Pound sign")
93171
- },
93172
- {
93173
- character: "\xA2",
93174
- title: t("Cent sign")
93175
- },
93176
- {
93177
- character: "\u20A0",
93178
- title: t("Euro-currency sign")
93179
- },
93180
- {
93181
- character: "\u20A1",
93182
- title: t("Colon sign")
93183
- },
93184
- {
93185
- character: "\u20A2",
93186
- title: t("Cruzeiro sign")
93187
- },
93188
- {
93189
- character: "\u20A3",
93190
- title: t("French franc sign")
93191
- },
93192
- {
93193
- character: "\u20A4",
93194
- title: t("Lira sign")
93195
- },
93196
- {
93197
- character: "\xA4",
93198
- title: t("Currency sign")
93199
- },
93200
- {
93201
- character: "\u20BF",
93202
- title: t("Bitcoin sign")
93203
- },
93204
- {
93205
- character: "\u20A5",
93206
- title: t("Mill sign")
93207
- },
93208
- {
93209
- character: "\u20A6",
93210
- title: t("Naira sign")
93211
- },
93212
- {
93213
- character: "\u20A7",
93214
- title: t("Peseta sign")
93215
- },
93216
- {
93217
- character: "\u20A8",
93218
- title: t("Rupee sign")
93219
- },
93220
- {
93221
- character: "\u20A9",
93222
- title: t("Won sign")
93223
- },
93224
- {
93225
- character: "\u20AA",
93226
- title: t("New sheqel sign")
93227
- },
93228
- {
93229
- character: "\u20AB",
93230
- title: t("Dong sign")
93231
- },
93232
- {
93233
- character: "\u20AD",
93234
- title: t("Kip sign")
93235
- },
93236
- {
93237
- character: "\u20AE",
93238
- title: t("Tugrik sign")
93239
- },
93240
- {
93241
- character: "\u20AF",
93242
- title: t("Drachma sign")
93243
- },
93244
- {
93245
- character: "\u20B0",
93246
- title: t("German penny sign")
93247
- },
93248
- {
93249
- character: "\u20B1",
93250
- title: t("Peso sign")
93251
- },
93252
- {
93253
- character: "\u20B2",
93254
- title: t("Guarani sign")
93255
- },
93256
- {
93257
- character: "\u20B3",
93258
- title: t("Austral sign")
93259
- },
93260
- {
93261
- character: "\u20B4",
93262
- title: t("Hryvnia sign")
93263
- },
93264
- {
93265
- character: "\u20B5",
93266
- title: t("Cedi sign")
93267
- },
93268
- {
93269
- character: "\u20B6",
93270
- title: t("Livre tournois sign")
93271
- },
93272
- {
93273
- character: "\u20B7",
93274
- title: t("Spesmilo sign")
93275
- },
93276
- {
93277
- character: "\u20B8",
93278
- title: t("Tenge sign")
93279
- },
93280
- {
93281
- character: "\u20B9",
93282
- title: t("Indian rupee sign")
93283
- },
93284
- {
93285
- character: "\u20BA",
93286
- title: t("Turkish lira sign")
93287
- },
93288
- {
93289
- character: "\u20BB",
93290
- title: t("Nordic mark sign")
93291
- },
93292
- {
93293
- character: "\u20BC",
93294
- title: t("Manat sign")
93295
- },
93296
- {
93297
- character: "\u20BD",
93298
- title: t("Ruble sign")
93299
- }
93300
- ], {
93301
- label: t("Currency")
93302
- });
93303
- }
93304
- };
93305
- var SpecialCharactersEssentials = class extends Plugin {
93306
- /**
93307
- * @inheritDoc
93308
- */
93309
- static get pluginName() {
93310
- return "SpecialCharactersEssentials";
93311
- }
93312
- /**
93313
- * @inheritDoc
93314
- */
93315
- static get isOfficialPlugin() {
93316
- return true;
93317
- }
93318
- /**
93319
- * @inheritDoc
93320
- */
93321
- static get requires() {
93322
- return [
93323
- SpecialCharactersCurrency,
93324
- SpecialCharactersText,
93325
- SpecialCharactersMathematical,
93326
- SpecialCharactersArrows,
93327
- SpecialCharactersLatin
93328
- ];
93329
- }
93330
- };
93331
-
93332
91560
  // node_modules/@ckeditor/ckeditor5-style/dist/index.js
93333
91561
  var StyleGridButtonView = class extends ButtonView {
93334
91562
  /**
@@ -104842,6 +103070,78 @@ Original error: ${originalError.name}: ${originalError.message}` : "";
104842
103070
  }
104843
103071
  };
104844
103072
 
103073
+ // app/javascript/plugins/asset_tags/asset_tag_builder.js
103074
+ var AssetTagBuilder = class extends Plugin {
103075
+ init() {
103076
+ console.log("AssetTagBuilder plugin initialized");
103077
+ this._defineSchema();
103078
+ this._defineConverters();
103079
+ }
103080
+ _defineSchema() {
103081
+ const schema = this.editor.model.schema;
103082
+ schema.register("assetImage", {
103083
+ allowWhere: "$text",
103084
+ isInline: true,
103085
+ isObject: true,
103086
+ allowAttributes: ["id", "size", "alt"]
103087
+ });
103088
+ }
103089
+ _defineConverters() {
103090
+ const conversion = this.editor.conversion;
103091
+ const upcast = conversion.for("upcast");
103092
+ const dataDowncast = conversion.for("dataDowncast");
103093
+ const editingDowncast = conversion.for("editingDowncast");
103094
+ upcast.elementToElement({
103095
+ view: {
103096
+ name: "r:asset:image"
103097
+ },
103098
+ model: (viewElement, { writer }) => {
103099
+ const attrs = {};
103100
+ const id = viewElement.getAttribute("id");
103101
+ const size = viewElement.getAttribute("size");
103102
+ const alt = viewElement.getAttribute("alt");
103103
+ if (id) attrs.id = id;
103104
+ if (size) attrs.size = size;
103105
+ if (alt) attrs.alt = alt;
103106
+ return writer.createElement("assetImage", attrs);
103107
+ }
103108
+ });
103109
+ dataDowncast.elementToElement({
103110
+ model: "assetImage",
103111
+ view: (modelElement, { writer }) => {
103112
+ const attrs = {};
103113
+ const id = modelElement.getAttribute("id");
103114
+ const size = modelElement.getAttribute("size");
103115
+ const alt = modelElement.getAttribute("alt");
103116
+ if (id) attrs.id = id;
103117
+ if (size) attrs.size = size;
103118
+ if (alt) attrs.alt = alt;
103119
+ return writer.createEmptyElement("r:asset:image", attrs);
103120
+ }
103121
+ });
103122
+ editingDowncast.elementToElement({
103123
+ model: "assetImage",
103124
+ view: (modelElement, { writer }) => {
103125
+ const attrs = {};
103126
+ const id = modelElement.getAttribute("id");
103127
+ const size = modelElement.getAttribute("size");
103128
+ const alt = modelElement.getAttribute("alt");
103129
+ if (id) attrs.id = id;
103130
+ if (size) attrs.size = size;
103131
+ if (alt) attrs.alt = alt;
103132
+ return writer.createContainerElement("r:asset:image", attrs);
103133
+ }
103134
+ });
103135
+ }
103136
+ };
103137
+
103138
+ // app/javascript/plugins/asset_tags/asset_tags.js
103139
+ var AssetTags = class extends Plugin {
103140
+ static get requires() {
103141
+ return [AssetTagBuilder];
103142
+ }
103143
+ };
103144
+
104845
103145
  // app/javascript/trusty_cms/ckeditor5.js
104846
103146
  var defaultStyleDefinitions = [
104847
103147
  {
@@ -104936,6 +103236,7 @@ Original error: ${originalError.name}: ${originalError.message}` : "";
104936
103236
  },
104937
103237
  plugins: [
104938
103238
  Alignment,
103239
+ AssetTags,
104939
103240
  Autoformat,
104940
103241
  AutoImage,
104941
103242
  AutoLink,
@@ -104983,13 +103284,6 @@ Original error: ${originalError.name}: ${originalError.message}` : "";
104983
103284
  ShowBlocks,
104984
103285
  SimpleUploadAdapter,
104985
103286
  SourceEditing,
104986
- SpecialCharacters,
104987
- SpecialCharactersArrows,
104988
- SpecialCharactersCurrency,
104989
- SpecialCharactersEssentials,
104990
- SpecialCharactersLatin,
104991
- SpecialCharactersMathematical,
104992
- SpecialCharactersText,
104993
103287
  Strikethrough,
104994
103288
  Style,
104995
103289
  Subscript,
@@ -105134,6 +103428,12 @@ Original error: ${originalError.name}: ${originalError.message}` : "";
105134
103428
  if (!hiddenInput) {
105135
103429
  return;
105136
103430
  }
103431
+ editor.ui.focusTracker.on("change:isFocused", (evt, name, isFocused) => {
103432
+ if (!isFocused) {
103433
+ editor.plugins.get("SourceEditing").updateEditorData();
103434
+ }
103435
+ ;
103436
+ });
105137
103437
  editor.model.document.on("change:data", () => {
105138
103438
  hiddenInput.value = editor.getData();
105139
103439
  });
@@ -105145,19 +103445,13 @@ Original error: ${originalError.name}: ${originalError.message}` : "";
105145
103445
  /*! Bundled license information:
105146
103446
 
105147
103447
  @ckeditor/ckeditor5-utils/dist/index.js:
105148
- (**
105149
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105150
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105151
- *)
105152
- (* istanbul ignore next -- @preserve *)
105153
-
105154
- @ckeditor/ckeditor5-utils/dist/index.js:
105155
- (**
105156
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105157
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105158
- *)
105159
-
105160
103448
  @ckeditor/ckeditor5-utils/dist/index.js:
103449
+ @ckeditor/ckeditor5-core/dist/index.js:
103450
+ @ckeditor/ckeditor5-autosave/dist/index.js:
103451
+ @ckeditor/ckeditor5-clipboard/dist/index.js:
103452
+ @ckeditor/ckeditor5-find-and-replace/dist/index.js:
103453
+ @ckeditor/ckeditor5-list/dist/index.js:
103454
+ @ckeditor/ckeditor5-style/dist/index.js:
105161
103455
  (**
105162
103456
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105163
103457
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -105165,451 +103459,125 @@ Original error: ${originalError.name}: ${originalError.message}` : "";
105165
103459
  (* istanbul ignore next -- @preserve *)
105166
103460
 
105167
103461
  @ckeditor/ckeditor5-utils/dist/index.js:
105168
- (**
105169
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105170
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105171
- *)
105172
-
105173
103462
  @ckeditor/ckeditor5-utils/dist/index.js:
105174
- (**
105175
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105176
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105177
- *)
105178
-
105179
103463
  @ckeditor/ckeditor5-utils/dist/index.js:
105180
- (**
105181
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105182
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105183
- *)
105184
-
105185
103464
  @ckeditor/ckeditor5-utils/dist/index.js:
105186
- (**
105187
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105188
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105189
- *)
105190
- (* istanbul ignore else -- @preserve *)
105191
-
105192
103465
  @ckeditor/ckeditor5-utils/dist/index.js:
105193
- (**
105194
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105195
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105196
- *)
105197
-
105198
103466
  @ckeditor/ckeditor5-utils/dist/index.js:
105199
- (**
105200
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105201
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105202
- *)
105203
-
105204
103467
  @ckeditor/ckeditor5-utils/dist/index.js:
105205
- (**
105206
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105207
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105208
- *)
105209
-
105210
103468
  @ckeditor/ckeditor5-utils/dist/index.js:
105211
- (**
105212
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105213
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105214
- *)
105215
-
105216
103469
  @ckeditor/ckeditor5-utils/dist/index.js:
105217
- (**
105218
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105219
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105220
- *)
105221
-
105222
- @ckeditor/ckeditor5-engine/dist/index.js:
105223
- (**
105224
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105225
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105226
- *)
105227
-
105228
103470
  @ckeditor/ckeditor5-engine/dist/index.js:
105229
- (**
105230
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105231
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105232
- *)
105233
- (* istanbul ignore next -- @preserve *)
105234
- (* istanbul ignore else: This is always true because otherwise it would not register a reducer callback. -- @preserve *)
105235
- (* istanbul ignore else -- @preserve *)
105236
- (* istanbul ignore if -- @preserve *)
105237
-
105238
103471
  @ckeditor/ckeditor5-watchdog/dist/index.js:
105239
- (**
105240
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105241
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105242
- *)
105243
-
105244
- @ckeditor/ckeditor5-core/dist/index.js:
105245
- (**
105246
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105247
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105248
- *)
105249
- (* istanbul ignore next -- @preserve *)
105250
-
105251
- @ckeditor/ckeditor5-upload/dist/index.js:
105252
- (**
105253
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105254
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105255
- *)
105256
-
105257
103472
  @ckeditor/ckeditor5-upload/dist/index.js:
105258
- (* istanbul ignore else -- @preserve *)
105259
-
105260
103473
  @ckeditor/ckeditor5-adapter-ckfinder/dist/index.js:
105261
- (**
105262
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105263
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105264
- *)
105265
-
105266
103474
  @ckeditor/ckeditor5-icons/dist/index.js:
105267
- (**
105268
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105269
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105270
- *)
105271
-
105272
- @ckeditor/ckeditor5-ui/dist/index.js:
105273
- (**
105274
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105275
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105276
- *)
105277
-
105278
103475
  @ckeditor/ckeditor5-ui/dist/index.js:
105279
- (**
105280
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105281
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105282
- *)
105283
-
105284
103476
  @ckeditor/ckeditor5-ui/dist/index.js:
105285
- (**
105286
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105287
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105288
- *)
105289
-
105290
103477
  @ckeditor/ckeditor5-ui/dist/index.js:
105291
- (* istanbul ignore next -- @preserve *)
105292
-
105293
103478
  @ckeditor/ckeditor5-ui/dist/index.js:
105294
- (**
105295
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105296
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105297
- *)
105298
-
105299
103479
  @ckeditor/ckeditor5-alignment/dist/index.js:
105300
- (**
105301
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105302
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105303
- *)
105304
-
105305
103480
  @ckeditor/ckeditor5-typing/dist/index.js:
105306
- (**
105307
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105308
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105309
- *)
105310
-
105311
103481
  @ckeditor/ckeditor5-autoformat/dist/index.js:
105312
- (**
105313
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105314
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105315
- *)
105316
-
105317
- @ckeditor/ckeditor5-autosave/dist/index.js:
105318
- (**
105319
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105320
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105321
- *)
105322
- (* istanbul ignore next -- @preserve *)
105323
-
105324
103482
  @ckeditor/ckeditor5-basic-styles/dist/index.js:
105325
- (**
105326
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105327
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105328
- *)
105329
-
105330
103483
  @ckeditor/ckeditor5-enter/dist/index.js:
105331
- (**
105332
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105333
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105334
- *)
105335
-
105336
103484
  @ckeditor/ckeditor5-block-quote/dist/index.js:
105337
- (**
105338
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105339
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105340
- *)
105341
-
105342
- @ckeditor/ckeditor5-widget/dist/index.js:
105343
- (**
105344
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105345
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105346
- *)
105347
-
105348
103485
  @ckeditor/ckeditor5-widget/dist/index.js:
105349
- (* istanbul ignore next -- @preserve *)
105350
-
105351
103486
  @ckeditor/ckeditor5-bookmark/dist/index.js:
105352
- (**
105353
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105354
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105355
- *)
105356
-
105357
103487
  @ckeditor/ckeditor5-ckbox/dist/index.js:
105358
- (**
105359
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105360
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105361
- *)
105362
-
105363
103488
  @ckeditor/ckeditor5-ckfinder/dist/index.js:
105364
- (**
105365
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105366
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105367
- *)
105368
-
105369
- @ckeditor/ckeditor5-clipboard/dist/index.js:
105370
- (**
105371
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105372
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105373
- *)
105374
- (* istanbul ignore next -- @preserve *)
105375
-
105376
103489
  @ckeditor/ckeditor5-cloud-services/dist/index.js:
105377
- (**
105378
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105379
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105380
- *)
105381
-
105382
103490
  @ckeditor/ckeditor5-code-block/dist/index.js:
105383
- (**
105384
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105385
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105386
- *)
105387
-
105388
103491
  @ckeditor/ckeditor5-easy-image/dist/index.js:
105389
- (**
105390
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105391
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105392
- *)
105393
-
105394
103492
  @ckeditor/ckeditor5-editor-balloon/dist/index.js:
105395
- (**
105396
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105397
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105398
- *)
105399
-
105400
103493
  @ckeditor/ckeditor5-editor-classic/dist/index.js:
105401
- (**
105402
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105403
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105404
- *)
105405
-
105406
103494
  @ckeditor/ckeditor5-editor-decoupled/dist/index.js:
105407
- (**
105408
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105409
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105410
- *)
105411
-
105412
103495
  @ckeditor/ckeditor5-editor-inline/dist/index.js:
105413
- (**
105414
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105415
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105416
- *)
105417
-
105418
103496
  @ckeditor/ckeditor5-editor-multi-root/dist/index.js:
105419
- (**
105420
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105421
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105422
- *)
105423
-
105424
103497
  @ckeditor/ckeditor5-select-all/dist/index.js:
105425
- (**
105426
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105427
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105428
- *)
105429
-
105430
103498
  @ckeditor/ckeditor5-undo/dist/index.js:
105431
- (**
105432
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105433
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105434
- *)
105435
-
105436
103499
  @ckeditor/ckeditor5-essentials/dist/index.js:
105437
- (**
105438
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105439
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105440
- *)
105441
-
105442
- @ckeditor/ckeditor5-find-and-replace/dist/index.js:
105443
- (**
105444
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105445
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105446
- *)
105447
- (* istanbul ignore next -- @preserve *)
105448
-
105449
103500
  @ckeditor/ckeditor5-font/dist/index.js:
105450
- (**
105451
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105452
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105453
- *)
105454
-
105455
- @ckeditor/ckeditor5-fullscreen/dist/index.js:
105456
- (**
105457
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105458
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105459
- *)
105460
- (* istanbul ignore if -- @preserve *)
105461
- (* istanbul ignore next -- @preserve *)
105462
-
105463
103501
  @ckeditor/ckeditor5-paragraph/dist/index.js:
105464
- (**
105465
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105466
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105467
- *)
105468
-
105469
103502
  @ckeditor/ckeditor5-heading/dist/index.js:
105470
- (**
105471
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105472
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105473
- *)
105474
-
105475
103503
  @ckeditor/ckeditor5-highlight/dist/index.js:
105476
- (**
105477
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105478
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105479
- *)
105480
-
105481
103504
  @ckeditor/ckeditor5-horizontal-line/dist/index.js:
105482
- (**
105483
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105484
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105485
- *)
105486
-
105487
103505
  @ckeditor/ckeditor5-html-embed/dist/index.js:
105488
- (**
105489
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105490
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105491
- *)
105492
-
105493
- @ckeditor/ckeditor5-html-support/dist/index.js:
105494
- (**
105495
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105496
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105497
- *)
105498
- (* istanbul ignore next: paranoid check -- @preserve *)
105499
-
105500
- @ckeditor/ckeditor5-image/dist/index.js:
105501
- (**
105502
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105503
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105504
- *)
105505
-
105506
103506
  @ckeditor/ckeditor5-image/dist/index.js:
105507
- (* istanbul ignore if: paranoid check -- @preserve *)
105508
- (* istanbul ignore next -- @preserve *)
105509
- (**
105510
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105511
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105512
- *)
105513
-
105514
103507
  @ckeditor/ckeditor5-indent/dist/index.js:
105515
- (**
105516
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105517
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105518
- *)
105519
-
105520
103508
  @ckeditor/ckeditor5-language/dist/index.js:
105521
- (**
105522
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105523
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105524
- *)
105525
-
105526
103509
  @ckeditor/ckeditor5-link/dist/index.js:
105527
- (**
105528
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105529
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105530
- *)
105531
-
105532
- @ckeditor/ckeditor5-list/dist/index.js:
105533
- (**
105534
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105535
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105536
- *)
105537
- (* istanbul ignore next -- @preserve *)
105538
-
105539
103510
  @ckeditor/ckeditor5-media-embed/dist/index.js:
105540
- (**
105541
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105542
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105543
- *)
105544
-
105545
103511
  @ckeditor/ckeditor5-mention/dist/index.js:
105546
- (**
105547
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105548
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105549
- *)
105550
-
105551
103512
  @ckeditor/ckeditor5-minimap/dist/index.js:
105552
- (**
105553
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105554
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105555
- *)
105556
-
105557
103513
  @ckeditor/ckeditor5-page-break/dist/index.js:
103514
+ @ckeditor/ckeditor5-remove-format/dist/index.js:
103515
+ @ckeditor/ckeditor5-restricted-editing/dist/index.js:
103516
+ @ckeditor/ckeditor5-restricted-editing/dist/index.js:
103517
+ @ckeditor/ckeditor5-show-blocks/dist/index.js:
103518
+ @ckeditor/ckeditor5-source-editing/dist/index.js:
103519
+ @ckeditor/ckeditor5-special-characters/dist/index.js:
103520
+ @ckeditor/ckeditor5-word-count/dist/index.js:
103521
+ ckeditor5/dist/ckeditor5.js:
105558
103522
  (**
105559
103523
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105560
103524
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105561
103525
  *)
105562
103526
 
105563
- @ckeditor/ckeditor5-paste-from-office/dist/index.js:
103527
+ @ckeditor/ckeditor5-utils/dist/index.js:
105564
103528
  (**
105565
103529
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105566
103530
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105567
103531
  *)
105568
- (* istanbul ignore next -- @preserve *)
105569
103532
  (* istanbul ignore else -- @preserve *)
105570
103533
 
105571
- @ckeditor/ckeditor5-remove-format/dist/index.js:
103534
+ @ckeditor/ckeditor5-engine/dist/index.js:
105572
103535
  (**
105573
103536
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105574
103537
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105575
103538
  *)
103539
+ (* istanbul ignore next -- @preserve *)
103540
+ (* istanbul ignore else: This is always true because otherwise it would not register a reducer callback. -- @preserve *)
103541
+ (* istanbul ignore else -- @preserve *)
103542
+ (* istanbul ignore if -- @preserve *)
105576
103543
 
105577
- @ckeditor/ckeditor5-restricted-editing/dist/index.js:
105578
- (**
105579
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105580
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105581
- *)
103544
+ @ckeditor/ckeditor5-upload/dist/index.js:
103545
+ (* istanbul ignore else -- @preserve *)
105582
103546
 
105583
- @ckeditor/ckeditor5-restricted-editing/dist/index.js:
105584
- (**
105585
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105586
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105587
- *)
103547
+ @ckeditor/ckeditor5-ui/dist/index.js:
103548
+ @ckeditor/ckeditor5-widget/dist/index.js:
103549
+ (* istanbul ignore next -- @preserve *)
105588
103550
 
105589
- @ckeditor/ckeditor5-show-blocks/dist/index.js:
103551
+ @ckeditor/ckeditor5-fullscreen/dist/index.js:
105590
103552
  (**
105591
103553
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105592
103554
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105593
103555
  *)
103556
+ (* istanbul ignore if -- @preserve *)
103557
+ (* istanbul ignore next -- @preserve *)
105594
103558
 
105595
- @ckeditor/ckeditor5-source-editing/dist/index.js:
103559
+ @ckeditor/ckeditor5-html-support/dist/index.js:
105596
103560
  (**
105597
103561
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105598
103562
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105599
103563
  *)
103564
+ (* istanbul ignore next: paranoid check -- @preserve *)
105600
103565
 
105601
- @ckeditor/ckeditor5-special-characters/dist/index.js:
103566
+ @ckeditor/ckeditor5-image/dist/index.js:
103567
+ (* istanbul ignore if: paranoid check -- @preserve *)
103568
+ (* istanbul ignore next -- @preserve *)
105602
103569
  (**
105603
103570
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105604
103571
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105605
103572
  *)
105606
103573
 
105607
- @ckeditor/ckeditor5-style/dist/index.js:
103574
+ @ckeditor/ckeditor5-paste-from-office/dist/index.js:
105608
103575
  (**
105609
103576
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105610
103577
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105611
103578
  *)
105612
103579
  (* istanbul ignore next -- @preserve *)
103580
+ (* istanbul ignore else -- @preserve *)
105613
103581
 
105614
103582
  @ckeditor/ckeditor5-table/dist/index.js:
105615
103583
  (**
@@ -105618,17 +103586,5 @@ Original error: ${originalError.name}: ${originalError.message}` : "";
105618
103586
  *)
105619
103587
  (* istanbul ignore next -- @preserve *)
105620
103588
  (* istanbul ignore if: paranoid check -- @preserve *)
105621
-
105622
- @ckeditor/ckeditor5-word-count/dist/index.js:
105623
- (**
105624
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105625
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105626
- *)
105627
-
105628
- ckeditor5/dist/ckeditor5.js:
105629
- (**
105630
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
105631
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
105632
- *)
105633
103589
  */
105634
103590
  //# sourceMappingURL=/assets/ckeditor5.js.map