@mdxeditor/editor 1.14.0 → 1.14.1
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.
|
@@ -117,6 +117,7 @@ const linkDialogSystem = system(
|
|
|
117
117
|
type: "edit",
|
|
118
118
|
initialUrl: state.url,
|
|
119
119
|
url: state.url,
|
|
120
|
+
title: state.title,
|
|
120
121
|
linkNodeKey: state.linkNodeKey,
|
|
121
122
|
rectangle: state.rectangle
|
|
122
123
|
};
|
|
@@ -151,6 +152,7 @@ const linkDialogSystem = system(
|
|
|
151
152
|
type: "preview",
|
|
152
153
|
linkNodeKey: state.linkNodeKey,
|
|
153
154
|
rectangle: state.rectangle,
|
|
155
|
+
title,
|
|
154
156
|
url
|
|
155
157
|
});
|
|
156
158
|
} else {
|
|
@@ -201,6 +203,7 @@ const linkDialogSystem = system(
|
|
|
201
203
|
type: "preview",
|
|
202
204
|
url: node.getURL(),
|
|
203
205
|
linkNodeKey: node.getKey(),
|
|
206
|
+
title: node.getTitle(),
|
|
204
207
|
rectangle: getSelectionRectangle(activeEditor2)
|
|
205
208
|
};
|
|
206
209
|
} else {
|