@rufous/ui 0.2.58 → 0.2.59

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.
package/dist/main.cjs CHANGED
@@ -11599,7 +11599,10 @@ var RufousTextEditor = ({
11599
11599
  import_extension_link.default.configure({
11600
11600
  openOnClick: false,
11601
11601
  autolink: true,
11602
- HTMLAttributes: { class: "editor-link" }
11602
+ // Don't set default target/_blank — let the user choose via the link popup.
11603
+ // This prevents TipTap from adding target="_blank" to all links by default
11604
+ // and ensures checkbox state persists across editor remounts.
11605
+ HTMLAttributes: { class: "editor-link", target: null, rel: null }
11603
11606
  }),
11604
11607
  CustomImage.configure({
11605
11608
  inline: false,
package/dist/main.js CHANGED
@@ -11534,7 +11534,10 @@ var RufousTextEditor = ({
11534
11534
  Link2.configure({
11535
11535
  openOnClick: false,
11536
11536
  autolink: true,
11537
- HTMLAttributes: { class: "editor-link" }
11537
+ // Don't set default target/_blank — let the user choose via the link popup.
11538
+ // This prevents TipTap from adding target="_blank" to all links by default
11539
+ // and ensures checkbox state persists across editor remounts.
11540
+ HTMLAttributes: { class: "editor-link", target: null, rel: null }
11538
11541
  }),
11539
11542
  CustomImage.configure({
11540
11543
  inline: false,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rufous/ui",
3
3
  "private": false,
4
- "version": "0.2.58",
4
+ "version": "0.2.59",
5
5
  "type": "module",
6
6
  "description": "Experimental: A lightweight React UI component library (Beta)",
7
7
  "style": "./dist/main.css",