mirror of
https://github.com/hcengineering/platform.git
synced 2025-06-09 09:20:54 +00:00
EZQMS-325 Fixes for EZQMS documents table of contents (#3987)
Signed-off-by: Alexander Onnikov <alexander.onnikov@xored.com>
This commit is contained in:
parent
0e2eb336ad
commit
11e93c6efd
@ -330,16 +330,18 @@
|
|||||||
{#if textFormatCategories.length > 0 && textNodeActions.length > 0}
|
{#if textFormatCategories.length > 0 && textNodeActions.length > 0}
|
||||||
<div class="buttons-divider" />
|
<div class="buttons-divider" />
|
||||||
{/if}
|
{/if}
|
||||||
{#each textNodeActions as action}
|
{#if textNodeActions.length > 0}
|
||||||
<StyleButton
|
{#each textNodeActions as action}
|
||||||
icon={action.icon}
|
<StyleButton
|
||||||
size={formatButtonSize}
|
icon={action.icon}
|
||||||
selected={false}
|
size={formatButtonSize}
|
||||||
disabled={textEditor.view.state.selection.empty}
|
selected={false}
|
||||||
showTooltip={{ label: action.label }}
|
disabled={textEditor.view.state.selection.empty}
|
||||||
on:click={() => {
|
showTooltip={{ label: action.label }}
|
||||||
dispatch('action', { action: action.id, editor: textEditor })
|
on:click={async () => {
|
||||||
}}
|
dispatch('action', { action: action.id, editor: textEditor })
|
||||||
/>
|
}}
|
||||||
{/each}
|
/>
|
||||||
|
{/each}
|
||||||
|
{/if}
|
||||||
{/if}
|
{/if}
|
||||||
|
@ -36,8 +36,8 @@
|
|||||||
<FocusHandler {manager} />
|
<FocusHandler {manager} />
|
||||||
|
|
||||||
<div class="selectPopup" use:resizeObserver={() => dispatch('changeContent')}>
|
<div class="selectPopup" use:resizeObserver={() => dispatch('changeContent')}>
|
||||||
<div class="header ml-2">
|
<div class="header">
|
||||||
<span class="fs-title overflow-label">
|
<span class="fs-title overflow-label ml-2">
|
||||||
<Label label={textEditorPlugin.string.TableOfContents} />
|
<Label label={textEditorPlugin.string.TableOfContents} />
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user