@licium/editor-plugin-details 3.2.11 → 3.2.13

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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * TOAST UI Editor : Text Align Plugin
3
- * @version 3.2.11 | Thu Jan 08 2026
3
+ * @version 3.2.13 | Fri Jan 09 2026
4
4
  * @author NHN Cloud FE Development Lab <dl_javascript@nhn.com>
5
5
  * @license MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * TOAST UI Editor : Text Align Plugin
3
- * @version 3.2.11 | Thu Jan 08 2026
3
+ * @version 3.2.13 | Fri Jan 09 2026
4
4
  * @author NHN Cloud FE Development Lab <dl_javascript@nhn.com>
5
5
  * @license MIT
6
6
  */
@@ -571,7 +571,7 @@ function createToolbarItemOption(i18n) {
571
571
  return {
572
572
  name: 'details',
573
573
  tooltip: i18n.get('details'),
574
- className: PREFIX + "toolbar-icons details",
574
+ className: "".concat(PREFIX, "toolbar-icons details"),
575
575
  command: 'details',
576
576
  };
577
577
  }
@@ -712,9 +712,9 @@ function detailsPlugin(context, options) {
712
712
  var slice = selection.content();
713
713
  var textContent = slice.content.textBetween(0, slice.content.size, '\n') || i18n.get('content');
714
714
  var summaryText = i18n.get('summary');
715
- var openTag = "<details>\n<summary>" + summaryText + "</summary>\n";
715
+ var openTag = "<details>\n<summary>".concat(summaryText, "</summary>\n");
716
716
  var closeTag = "\n</details>";
717
- var newText = "" + openTag + textContent + closeTag;
717
+ var newText = "".concat(openTag).concat(textContent).concat(closeTag);
718
718
  tr.replaceSelectionWith(schema.text(newText));
719
719
  dispatch(tr);
720
720
  return true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@licium/editor-plugin-details",
3
- "version": "3.2.11",
3
+ "version": "3.2.13",
4
4
  "description": "Details/Summary plugin for Toast UI Editor",
5
5
  "keywords": [
6
6
  "nhn",
@@ -48,5 +48,5 @@
48
48
  "publishConfig": {
49
49
  "access": "public"
50
50
  },
51
- "gitHead": "07cd62ac6be507292818851d306829ab9f2e2982"
51
+ "gitHead": "019ce2e0c8210746f0072903ebec7efe79a8374a"
52
52
  }