toolbar
This commit is contained in:
parent
214a840d8a
commit
7c684be671
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div>
|
||||
<!-- تولبار ادیتور -->
|
||||
<div class="editor-toolbar" v-if="editor">
|
||||
<!-- <div class="editor-toolbar" v-if="editor">
|
||||
<div
|
||||
class="toolbar-group"
|
||||
v-for="(group, gIndex) in toolbarGroups"
|
||||
|
|
@ -18,7 +18,7 @@
|
|||
<span class="toolbar-icon">{{ btn.icon }}</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
<editor-content :editor="editor" class="editor-content" />
|
||||
</div>
|
||||
</template>
|
||||
|
|
@ -275,8 +275,7 @@ function generateDetailsHtml(item) {
|
|||
function loadFromJson() {
|
||||
if (!editor.value) return;
|
||||
|
||||
let html =
|
||||
'<p style="margin-bottom: 1.5rem; color: var(--color-dark-primary-700);"></p>';
|
||||
let html = "";
|
||||
|
||||
props.accordionData.forEach((item) => {
|
||||
html += generateDetailsHtml(item);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user