@@ -215,9 +215,9 @@ const promiseTransaction = () => {
215215 item . firstElementChild . insertAdjacentHTML ( "afterend" , operation . data ) ;
216216 cursorElements . push ( item . firstElementChild . nextElementSibling ) ;
217217 } else if ( item . classList . contains ( "callout" ) &&
218- item . querySelector ( ' [data-node-id]' ) ?. getAttribute ( "data-node-id" ) !== operation . id ) {
218+ item . querySelector ( " [data-node-id]" ) ?. getAttribute ( "data-node-id" ) !== operation . id ) {
219219 item . querySelector ( ".callout-content" ) . insertAdjacentHTML ( "afterbegin" , operation . data ) ;
220- cursorElements . push ( item . querySelector ( ' [data-node-id]' ) ) ;
220+ cursorElements . push ( item . querySelector ( " [data-node-id]" ) ) ;
221221 } else if ( item . firstElementChild . getAttribute ( "data-node-id" ) !== operation . id ) {
222222 item . insertAdjacentHTML ( "afterbegin" , operation . data ) ;
223223 cursorElements . push ( item . firstElementChild ) ;
@@ -837,7 +837,7 @@ export const onTransaction = (protyle: IProtyle, operation: IOperation, isUndo:
837837 cursorElements . push ( item . firstElementChild . nextElementSibling ) ;
838838 } else if ( item . classList . contains ( "callout" ) ) {
839839 item . querySelector ( ".callout-content" ) . insertAdjacentHTML ( "afterbegin" , operation . data ) ;
840- cursorElements . push ( item . querySelector ( ' [data-node-id]' ) ) ;
840+ cursorElements . push ( item . querySelector ( " [data-node-id]" ) ) ;
841841 } else {
842842 item . insertAdjacentHTML ( "afterbegin" , operation . data ) ;
843843 cursorElements . push ( item . firstElementChild ) ;
0 commit comments