This commit is contained in:
parent
aad6289e1d
commit
f01ca18ba2
1 changed files with 2 additions and 2 deletions
|
@ -135,7 +135,7 @@ const focusStack = async (stack: IBackStack) => {
|
|||
mode: stack.isZoom ? 0 : 3,
|
||||
size: stack.isZoom ? Constants.SIZE_GET_MAX : Constants.SIZE_GET,
|
||||
}, getResponse => {
|
||||
onGet(getResponse, stack.protyle);
|
||||
onGet(getResponse, stack.protyle, [Constants.CB_GET_HTML]);
|
||||
Array.from(stack.protyle.wysiwyg.element.querySelectorAll(`[data-node-id="${stack.id}"]`)).find(item => {
|
||||
if (!hasClosestByAttribute(item, "data-type", "NodeBlockQueryEmbed")) {
|
||||
blockElement = item;
|
||||
|
@ -170,7 +170,7 @@ const focusStack = async (stack: IBackStack) => {
|
|||
mode: stack.isZoom ? 0 : 3,
|
||||
size: stack.isZoom ? Constants.SIZE_GET_MAX : Constants.SIZE_GET,
|
||||
}, getResponse => {
|
||||
onGet(getResponse, stack.protyle);
|
||||
onGet(getResponse, stack.protyle, [Constants.CB_GET_HTML]);
|
||||
Array.from(stack.protyle.wysiwyg.element.querySelectorAll(`[data-node-id="${stack.id}"]`)).find(item => {
|
||||
if (!hasClosestByAttribute(item, "data-type", "NodeBlockQueryEmbed")) {
|
||||
blockElement = item;
|
||||
|
|
Loading…
Add table
Reference in a new issue