@lvce-editor/main-area-worker 9.67.9 → 9.67.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1765,7 +1765,7 @@ const closeTab = (state, groupId, tabId) => {
|
|
|
1765
1765
|
|
|
1766
1766
|
const handleAttach = async command => {
|
|
1767
1767
|
// TODO find a better way to append editors
|
|
1768
|
-
const parentNodeSelector = '.
|
|
1768
|
+
const parentNodeSelector = '.EditorGroupsContainer, .EditorGroup';
|
|
1769
1769
|
await invoke$2('Layout.attachViewlet', parentNodeSelector, command.instanceId);
|
|
1770
1770
|
};
|
|
1771
1771
|
|
|
@@ -2885,6 +2885,7 @@ const focus = async state => {
|
|
|
2885
2885
|
}
|
|
2886
2886
|
const selector = activeTab?.tab.terminal ? '.xterm-helper-textarea' : '[name="editor"]';
|
|
2887
2887
|
if (isConnected()) {
|
|
2888
|
+
await invoke$1(state.applicationId, 'Layout.renderMainAreaPending', state.uid);
|
|
2888
2889
|
await invoke('Viewlet.focusSelector', editorUid, selector);
|
|
2889
2890
|
await invoke('Viewlet.focusSelectorAfterRender', editorUid, selector);
|
|
2890
2891
|
} else {
|
|
@@ -3885,7 +3886,7 @@ const EditorContentLargeFileActions = 'EditorContentLargeFileActions';
|
|
|
3885
3886
|
const EditorLargeFileWarningIcon = 'MaskIcon MaskIconWarning EditorLargeFileWarningIcon';
|
|
3886
3887
|
const DragOverlay = 'DragOverlay';
|
|
3887
3888
|
const Main = 'Main';
|
|
3888
|
-
const EDITOR_GROUPS_CONTAINER = '
|
|
3889
|
+
const EDITOR_GROUPS_CONTAINER = 'EditorGroupsContainer';
|
|
3889
3890
|
const TabIcon = 'TabIcon';
|
|
3890
3891
|
const TabTitle = 'TabTitle';
|
|
3891
3892
|
const Button = 'Button';
|