@myissue/vue-website-page-builder 3.3.84 → 3.3.85
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.
- package/dist/vue-website-page-builder.js +901 -907
- package/dist/vue-website-page-builder.umd.cjs +7 -7
- package/package.json +1 -1
- package/src/Components/PageBuilder/EditorMenu/Editables/EditGetElement.vue +1 -1
- package/src/Components/TipTap/TipTap.vue +12 -21
- package/src/services/PageBuilderService.ts +1 -1
package/package.json
CHANGED
|
@@ -8,27 +8,18 @@ const pageBuilderService = getPageBuilder()
|
|
|
8
8
|
|
|
9
9
|
<template>
|
|
10
10
|
<div>
|
|
11
|
-
<
|
|
12
|
-
<
|
|
13
|
-
<
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
>
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
>
|
|
22
|
-
<div
|
|
23
|
-
class="pbx-h-10 pbx-w-10 pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-border-none pbx-justify-center pbx-bg-gray-50 pbx-aspect-square hover:pbx-bg-myPrimaryLinkColor hover:pbx-text-white focus-visible:pbx-ring-0 pbx-text-black hover:pbx-text-white"
|
|
24
|
-
>
|
|
25
|
-
<span class="material-symbols-outlined"> edit </span>
|
|
26
|
-
</div>
|
|
27
|
-
<span class="pbx-text-xs">{{ translate('Edit text and links') }}</span>
|
|
28
|
-
</div>
|
|
29
|
-
</div>
|
|
11
|
+
<template v-if="pageBuilderService.isSelectedElementValidText()">
|
|
12
|
+
<div class="pbx-flex pbx-flex-col pbx-border-solid pbx-border pbx-border-gray-400">
|
|
13
|
+
<div
|
|
14
|
+
@click="pageBuilderService.toggleTipTapModal(true)"
|
|
15
|
+
class="pbx-flex pbx-flex-row pbx-justify-between pbx-items-center pbx-pl-3 pbx-pr-3 pbx-py-5 pbx-cursor-pointer pbx-duration-200 hover:pbx-bg-myPrimaryLightGrayColor"
|
|
16
|
+
>
|
|
17
|
+
<p class="pbx-myPrimaryParagraph pbx-font-medium pbx-my-0 pbx-py-0">
|
|
18
|
+
{{ translate('Text') }}
|
|
19
|
+
</p>
|
|
20
|
+
<span class="material-symbols-outlined"> chevron_right </span>
|
|
30
21
|
</div>
|
|
31
|
-
</
|
|
32
|
-
</
|
|
22
|
+
</div>
|
|
23
|
+
</template>
|
|
33
24
|
</div>
|
|
34
25
|
</template>
|
|
@@ -2475,7 +2475,7 @@ export class PageBuilderService {
|
|
|
2475
2475
|
// Wait for Vue to finish DOM updates before attaching event listeners.
|
|
2476
2476
|
// This ensures elements exist in the DOM.
|
|
2477
2477
|
await nextTick()
|
|
2478
|
-
|
|
2478
|
+
this.setBasePrimaryImageFromSelectedElement()
|
|
2479
2479
|
this.handleHyperlink(undefined, null, false)
|
|
2480
2480
|
this.handleOpacity(undefined)
|
|
2481
2481
|
this.handleBackgroundOpacity(undefined)
|