diff --git a/web/src/pages/Edit/components/Edit.vue b/web/src/pages/Edit/components/Edit.vue index 389d234b..60274a5d 100644 --- a/web/src/pages/Edit/components/Edit.vue +++ b/web/src/pages/Edit/components/Edit.vue @@ -404,7 +404,31 @@ export default { cssText, height: 30 } - } + }, + // createNodePrefixContent: (node) => { + // const el = document.createElement('div') + // el.style.width = '50px' + // el.style.height = '50px' + // el.style.background = 'red' + // return { + // el, + // width: 50, + // height: 50 + // } + // }, + // createNodePostfixContent: node => { + // const domparser = new DOMParser() + // const doc = domparser.parseFromString( + // '白日依山尽', + // 'text/html' + // ) + // const el = doc.querySelector('b') + // return { + // el, + // width: 50, + // height: 50 + // } + // }, // addContentToHeader: () => { // const el = document.createElement('div') // el.className = 'footer'