mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-18 07:30:12 +01:00
🚨
This commit is contained in:
parent
ccf6ab6ef2
commit
80252ec1b0
5 changed files with 21 additions and 21 deletions
|
|
@ -253,13 +253,13 @@ export const copyTab = (app: App, tab: Tab) => {
|
|||
callback(newTab: Tab) {
|
||||
let model: Model;
|
||||
if (tab.model instanceof Editor) {
|
||||
const newAction: string[] = []
|
||||
const newAction: string[] = [];
|
||||
// https://github.com/siyuan-note/siyuan/issues/12132
|
||||
tab.model.editor.protyle.block.action.forEach(item => {
|
||||
if (item !== Constants.CB_GET_APPEND && item !== Constants.CB_GET_BEFORE && item !== Constants.CB_GET_HTML) {
|
||||
newAction.push(item)
|
||||
newAction.push(item);
|
||||
}
|
||||
})
|
||||
});
|
||||
model = new Editor({
|
||||
app,
|
||||
tab: newTab,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue