mirror of
https://github.com/ajnart/homarr.git
synced 2026-01-24 00:09:12 +01:00
fix: notebook link target bug fix (#1889)
This commit is contained in:
@@ -95,6 +95,13 @@ export function Editor({ widget }: { widget: INotebookWidget }) {
|
||||
validate(url) {
|
||||
return /^https?:\/\//.test(url);
|
||||
},
|
||||
}).extend({
|
||||
addAttributes() {
|
||||
return {
|
||||
...this.parent?.(),
|
||||
target: { default: null }
|
||||
}
|
||||
}
|
||||
}),
|
||||
StarterKit,
|
||||
Table.configure({
|
||||
|
||||
Reference in New Issue
Block a user