@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 +4 -1
- package/dist/main.js +4 -1
- package/package.json +1 -1
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
|
-
|
|
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
|
-
|
|
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,
|