@designcrowd/library.brand-page 6.1.1-json-prereq-2 → 6.1.1-json-prereq-4
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/lib/src/{CreatedOnBrandCrowd-de-de-r7USgAVD.js → CreatedOnBrandCrowd-de-de-Dk-G3RbI.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-en-us-Cl9PeQVq.js → CreatedOnBrandCrowd-en-us-AVAWRjbj.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-es-es-JQgWL1oM.js → CreatedOnBrandCrowd-es-es-C5Xq4Jln.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-MyYaZgId.js → CreatedOnBrandCrowd-fr-ca-BQXjmcrr.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-ca-MyYaZgId.js → CreatedOnBrandCrowd-fr-fr-BQXjmcrr.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-D6FStQU6.js → CreatedOnBrandCrowd-pt-br-DRMRc1Zk.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-br-D6FStQU6.js → CreatedOnBrandCrowd-pt-pt-DRMRc1Zk.js} +1 -1
- package/lib/src/{CreatedOnDcom-de-de-BL1nZZE6.js → CreatedOnDcom-de-de-Dd9-oQ34.js} +1 -1
- package/lib/src/{CreatedOnDcom-en-us-C8R2eB3R.js → CreatedOnDcom-en-us-CnDfLzF4.js} +1 -1
- package/lib/src/{CreatedOnDcom-es-es-Cw34v79P.js → CreatedOnDcom-es-es-bvqvI9gT.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-ca-hQ7zuwhB.js → CreatedOnDcom-fr-ca-BG7UGFe8.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-fr-DYO-y4Qs.js → CreatedOnDcom-fr-fr-xdz35O_B.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-br-D_-6VWMA.js → CreatedOnDcom-pt-br-CLfHnCkk.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-pt-C0bg2qxu.js → CreatedOnDcom-pt-pt-Z7FY0BXt.js} +1 -1
- package/lib/src/brand-page/utils/text.util.d.ts +12 -0
- package/lib/src/brand-page/utils/text.util.js +32 -0
- package/lib/src/brand-page-maker/utils/rich-text-editor.util.d.ts +8 -0
- package/lib/src/brand-page-maker/utils/rich-text-editor.util.js +18 -1
- package/lib/src/css/library.brand-page-brandCrowd.min.css +39 -36
- package/lib/src/css/library.brand-page-brandPage.min.css +39 -36
- package/lib/src/css/library.brand-page-designCom.min.css +39 -36
- package/lib/src/css/library.brand-page-preview.min.css +39 -36
- package/lib/src/index.mjs +1 -1
- package/lib/src/{lib-B_8Foa76.js → lib-uYwxz8qR.js} +10346 -10319
- package/lib/src/shared/content-settings/components/GenericTextInput.mixin.d.ts +1 -1
- package/lib/src/shared/content-settings/components/GenericTextInput.mixin.js +21 -9
- package/lib/src/shared/content-settings/components/email-field/EmailField.mixin.d.ts +1 -1
- package/lib/src/shared/content-settings/components/tel-field/TelField.mixin.d.ts +1 -1
- package/lib/src/shared/content-settings/components/text-field/TextField.mixin.d.ts +1 -1
- package/lib/src/shared/content-settings/components/textarea-field/TextareaField.mixin.d.ts +1 -1
- package/lib/src/shared/content-settings/components/url-field/UrlField.mixin.d.ts +1 -1
- package/lib/src/shared/content-settings/components/youtube-video-field/YoutubeVideoField.mixin.d.ts +1 -1
- package/package.json +1 -1
- package/src/brand-page/utils/text.util.test.ts +60 -1
- package/src/brand-page/utils/text.util.ts +40 -0
- package/src/brand-page-maker/components/rich-text-editor/RichTextEditor.vue +1 -1
- package/src/brand-page-maker/utils/rich-text-editor.util.test.ts +25 -0
- package/src/brand-page-maker/utils/rich-text-editor.util.ts +21 -1
- package/src/shared/content-settings/components/GenericTextInput.mixin.ts +25 -10
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
export declare const getRenderText: (text: string) => string;
|
|
2
2
|
export declare const escapeContentText: (text: unknown) => string | undefined;
|
|
3
|
+
/**
|
|
4
|
+
* Character length of RTE content as the *editor* counts it — ProseMirror
|
|
5
|
+
* `doc.textContent`: text nodes concatenated with NO separator. This is the
|
|
6
|
+
* metric the MaxLength extension gates on, so length indicators must use it too.
|
|
7
|
+
*
|
|
8
|
+
* Do NOT use escapeContentText/jsonDocPlainText for length limiting: those
|
|
9
|
+
* join text nodes with a space for readable plain-text extraction, so they
|
|
10
|
+
* over-count by one character per inline mark boundary. Converting a word to a
|
|
11
|
+
* hyperlink (or bolding it, etc.) splits its text node, making the counter
|
|
12
|
+
* report length+1 for content the editor considers exactly at the cap (BP-5787).
|
|
13
|
+
*/
|
|
14
|
+
export declare const getContentTextLength: (value: unknown) => number;
|
|
3
15
|
export declare const decodeHtmlEntities: (text: string) => string;
|
|
4
16
|
export declare const unescapeContentText: (text: string) => string;
|
|
5
17
|
export declare const encodeContentText: (text: string | undefined) => string | undefined;
|
|
@@ -42,6 +42,38 @@ export const escapeContentText = (text) => {
|
|
|
42
42
|
.replace(/(<([^>]+)>)/gi, '')
|
|
43
43
|
.replace(/(\r\n|\r|\n)/g, ESCAPED_NEWLINE_CHARACTER);
|
|
44
44
|
};
|
|
45
|
+
/**
|
|
46
|
+
* Character length of RTE content as the *editor* counts it — ProseMirror
|
|
47
|
+
* `doc.textContent`: text nodes concatenated with NO separator. This is the
|
|
48
|
+
* metric the MaxLength extension gates on, so length indicators must use it too.
|
|
49
|
+
*
|
|
50
|
+
* Do NOT use escapeContentText/jsonDocPlainText for length limiting: those
|
|
51
|
+
* join text nodes with a space for readable plain-text extraction, so they
|
|
52
|
+
* over-count by one character per inline mark boundary. Converting a word to a
|
|
53
|
+
* hyperlink (or bolding it, etc.) splits its text node, making the counter
|
|
54
|
+
* report length+1 for content the editor considers exactly at the cap (BP-5787).
|
|
55
|
+
*/
|
|
56
|
+
export const getContentTextLength = (value) => {
|
|
57
|
+
if (!value) {
|
|
58
|
+
return 0;
|
|
59
|
+
}
|
|
60
|
+
if (isTiptapDoc(value)) {
|
|
61
|
+
let length = 0;
|
|
62
|
+
const walk = (node) => {
|
|
63
|
+
if (typeof node?.text === 'string') {
|
|
64
|
+
length += node.text.length;
|
|
65
|
+
}
|
|
66
|
+
node?.content?.forEach(walk);
|
|
67
|
+
};
|
|
68
|
+
walk(value);
|
|
69
|
+
return length;
|
|
70
|
+
}
|
|
71
|
+
if (typeof value !== 'string') {
|
|
72
|
+
return 0;
|
|
73
|
+
}
|
|
74
|
+
// Legacy inline-HTML string: count visible text with tags stripped.
|
|
75
|
+
return value.replace(/(<([^>]+)>)/gi, '').length;
|
|
76
|
+
};
|
|
45
77
|
export const decodeHtmlEntities = (text) => {
|
|
46
78
|
return text
|
|
47
79
|
.replace(/</g, '<')
|
|
@@ -28,6 +28,14 @@ export declare const getPlainTextFromRTE: (content: unknown) => string;
|
|
|
28
28
|
* concatenated visible text. Without this, `doc.length` is `undefined` (silently
|
|
29
29
|
* disabling the check) and `doc.trim()` throws — the class of bug that survived
|
|
30
30
|
* the `RichTextValue` widening because Vue Options-API `this`/item access is `any`.
|
|
31
|
+
*
|
|
32
|
+
* The JSON branch concatenates text nodes with NO separator, matching the
|
|
33
|
+
* editor's own char count (ProseMirror textContent) — the metric the MaxLength
|
|
34
|
+
* extension gates on. It deliberately does NOT reuse getRteJsonPlainText, whose
|
|
35
|
+
* space-join + trim (for readable plain-text extraction) over-counts by one per
|
|
36
|
+
* inline mark boundary — so hyperlinking or formatting a word made the item's
|
|
37
|
+
* max-length indicator disagree with the gate and fire at content that was
|
|
38
|
+
* actually under the cap (BP-5787).
|
|
31
39
|
*/
|
|
32
40
|
export declare const getRteTextLength: (value: RichTextValue | null | undefined) => number;
|
|
33
41
|
export declare const replaceTextInRTE: (existingHtml: string, newText: string) => string;
|
|
@@ -234,11 +234,28 @@ export const getPlainTextFromRTE = (content) => {
|
|
|
234
234
|
* concatenated visible text. Without this, `doc.length` is `undefined` (silently
|
|
235
235
|
* disabling the check) and `doc.trim()` throws — the class of bug that survived
|
|
236
236
|
* the `RichTextValue` widening because Vue Options-API `this`/item access is `any`.
|
|
237
|
+
*
|
|
238
|
+
* The JSON branch concatenates text nodes with NO separator, matching the
|
|
239
|
+
* editor's own char count (ProseMirror textContent) — the metric the MaxLength
|
|
240
|
+
* extension gates on. It deliberately does NOT reuse getRteJsonPlainText, whose
|
|
241
|
+
* space-join + trim (for readable plain-text extraction) over-counts by one per
|
|
242
|
+
* inline mark boundary — so hyperlinking or formatting a word made the item's
|
|
243
|
+
* max-length indicator disagree with the gate and fire at content that was
|
|
244
|
+
* actually under the cap (BP-5787).
|
|
237
245
|
*/
|
|
238
246
|
export const getRteTextLength = (value) => {
|
|
239
247
|
if (typeof value === 'string')
|
|
240
248
|
return value.length;
|
|
241
|
-
|
|
249
|
+
if (!value)
|
|
250
|
+
return 0;
|
|
251
|
+
let length = 0;
|
|
252
|
+
const walk = (node) => {
|
|
253
|
+
if (typeof node.text === 'string')
|
|
254
|
+
length += node.text.length;
|
|
255
|
+
node.content?.forEach(walk);
|
|
256
|
+
};
|
|
257
|
+
walk(value);
|
|
258
|
+
return length;
|
|
242
259
|
};
|
|
243
260
|
export const replaceTextInRTE = (existingHtml, newText) => {
|
|
244
261
|
if (!hasRTEContent(existingHtml)) {
|
|
@@ -1235,6 +1235,9 @@ a.maker-anchor {
|
|
|
1235
1235
|
.tw-max-w-\[310px\] {
|
|
1236
1236
|
max-width: 310px
|
|
1237
1237
|
}
|
|
1238
|
+
.tw-max-w-\[350px\] {
|
|
1239
|
+
max-width: 350px
|
|
1240
|
+
}
|
|
1238
1241
|
.tw-max-w-\[448px\] {
|
|
1239
1242
|
max-width: 448px
|
|
1240
1243
|
}
|
|
@@ -8899,11 +8902,11 @@ body {
|
|
|
8899
8902
|
contain-intrinsic-size: auto 36px;
|
|
8900
8903
|
}
|
|
8901
8904
|
|
|
8902
|
-
.rich-text-editor[data-v-
|
|
8905
|
+
.rich-text-editor[data-v-14187e07]:focus-within {
|
|
8903
8906
|
--tw-border-opacity: 1;
|
|
8904
8907
|
border-color: rgb(94 94 94 / var(--tw-border-opacity));
|
|
8905
8908
|
}
|
|
8906
|
-
.style-editor[data-v-
|
|
8909
|
+
.style-editor[data-v-14187e07] {
|
|
8907
8910
|
display: -webkit-box;
|
|
8908
8911
|
display: -ms-flexbox;
|
|
8909
8912
|
display: flex;
|
|
@@ -8914,7 +8917,7 @@ body {
|
|
|
8914
8917
|
-ms-flex-wrap: wrap;
|
|
8915
8918
|
flex-wrap: wrap;
|
|
8916
8919
|
}
|
|
8917
|
-
.style-editor[data-v-
|
|
8920
|
+
.style-editor[data-v-14187e07] button:not(.c-button-style) {
|
|
8918
8921
|
display: -webkit-box;
|
|
8919
8922
|
display: -ms-flexbox;
|
|
8920
8923
|
display: flex;
|
|
@@ -8924,16 +8927,16 @@ body {
|
|
|
8924
8927
|
padding-left: 0.5rem;
|
|
8925
8928
|
padding-right: 0.5rem;
|
|
8926
8929
|
}
|
|
8927
|
-
.style-editor-button[data-v-
|
|
8930
|
+
.style-editor-button[data-v-14187e07] {
|
|
8928
8931
|
cursor: pointer;
|
|
8929
8932
|
padding-left: 0.25rem;
|
|
8930
8933
|
padding-top: 0.25rem;
|
|
8931
8934
|
}
|
|
8932
|
-
.toolbar-editor-button.active[data-v-
|
|
8935
|
+
.toolbar-editor-button.active[data-v-14187e07] {
|
|
8933
8936
|
font-weight: 700;
|
|
8934
8937
|
background: #e3e3e3;
|
|
8935
8938
|
}
|
|
8936
|
-
.toolbar-editor-button[data-v-
|
|
8939
|
+
.toolbar-editor-button[data-v-14187e07] {
|
|
8937
8940
|
height: 32px;
|
|
8938
8941
|
width: 32px;
|
|
8939
8942
|
border-radius: 4px;
|
|
@@ -8951,7 +8954,7 @@ body {
|
|
|
8951
8954
|
-ms-flex-pack: center;
|
|
8952
8955
|
justify-content: center;
|
|
8953
8956
|
}
|
|
8954
|
-
[data-v-
|
|
8957
|
+
[data-v-14187e07] .ProseMirror {
|
|
8955
8958
|
border-top: 1px solid #ccc;
|
|
8956
8959
|
min-height: 150px;
|
|
8957
8960
|
padding: 8px;
|
|
@@ -8964,13 +8967,13 @@ body {
|
|
|
8964
8967
|
max-height: 14rem;
|
|
8965
8968
|
overflow: auto;
|
|
8966
8969
|
}
|
|
8967
|
-
.editor-compact[data-v-
|
|
8970
|
+
.editor-compact[data-v-14187e07] .ProseMirror {
|
|
8968
8971
|
min-height: 6rem;
|
|
8969
8972
|
}
|
|
8970
|
-
[data-v-
|
|
8973
|
+
[data-v-14187e07] .ProseMirror:focus {
|
|
8971
8974
|
outline: none;
|
|
8972
8975
|
}
|
|
8973
|
-
[data-v-
|
|
8976
|
+
[data-v-14187e07] .ProseMirror * {
|
|
8974
8977
|
text-align: left !important;
|
|
8975
8978
|
font-size: 16px !important;
|
|
8976
8979
|
color: #606060 !important;
|
|
@@ -8979,28 +8982,28 @@ body {
|
|
|
8979
8982
|
background-color: transparent !important;
|
|
8980
8983
|
font-family: 'Lato' !important;
|
|
8981
8984
|
}
|
|
8982
|
-
[data-v-
|
|
8985
|
+
[data-v-14187e07] .ProseMirror a s,[data-v-14187e07] .ProseMirror a strike,[data-v-14187e07] .ProseMirror a [data-strike] {
|
|
8983
8986
|
text-decoration: line-through !important;
|
|
8984
8987
|
}
|
|
8985
|
-
[data-v-
|
|
8988
|
+
[data-v-14187e07] .ProseMirror a,[data-v-14187e07] .ProseMirror a * {
|
|
8986
8989
|
color: #0097d7 !important;
|
|
8987
8990
|
text-decoration: underline !important;
|
|
8988
8991
|
}
|
|
8989
|
-
.error-message[data-v-
|
|
8992
|
+
.error-message[data-v-14187e07] {
|
|
8990
8993
|
color: #d32f2f;
|
|
8991
8994
|
font-size: 0.875rem;
|
|
8992
8995
|
margin-top: 4px;
|
|
8993
8996
|
}
|
|
8994
|
-
.popup-container[data-v-
|
|
8997
|
+
.popup-container[data-v-14187e07] {
|
|
8995
8998
|
position: absolute;
|
|
8996
8999
|
z-index: 10;
|
|
8997
9000
|
right: 8%;
|
|
8998
9001
|
}
|
|
8999
|
-
.hyperlink-preview[data-v-
|
|
9002
|
+
.hyperlink-preview[data-v-14187e07] {
|
|
9000
9003
|
position: absolute;
|
|
9001
9004
|
z-index: 10;
|
|
9002
9005
|
}
|
|
9003
|
-
.popup-panel[data-v-
|
|
9006
|
+
.popup-panel[data-v-14187e07] {
|
|
9004
9007
|
background: #fff;
|
|
9005
9008
|
border: 1px solid #ccc;
|
|
9006
9009
|
border-radius: 8px;
|
|
@@ -9008,17 +9011,17 @@ body {
|
|
|
9008
9011
|
-webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
|
|
9009
9012
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
|
|
9010
9013
|
}
|
|
9011
|
-
.popup-panel[data-v-
|
|
9014
|
+
.popup-panel[data-v-14187e07] input {
|
|
9012
9015
|
border: 1px solid #ccc;
|
|
9013
9016
|
border-radius: 8px;
|
|
9014
9017
|
}
|
|
9015
|
-
.border[data-v-
|
|
9018
|
+
.border[data-v-14187e07] {
|
|
9016
9019
|
width: 100%;
|
|
9017
9020
|
--tw-bg-opacity: 1;
|
|
9018
9021
|
background-color: rgb(208 208 208 / var(--tw-bg-opacity));
|
|
9019
9022
|
height: 1px;
|
|
9020
9023
|
}
|
|
9021
|
-
[data-v-
|
|
9024
|
+
[data-v-14187e07] .text-dropdown-title {
|
|
9022
9025
|
height: 2rem;
|
|
9023
9026
|
width: 100%;
|
|
9024
9027
|
font-size: 0.875rem;
|
|
@@ -9027,7 +9030,7 @@ body {
|
|
|
9027
9030
|
color: rgb(43 43 43 / var(--tw-text-opacity));
|
|
9028
9031
|
font-weight: 300;
|
|
9029
9032
|
}
|
|
9030
|
-
[data-v-
|
|
9033
|
+
[data-v-14187e07] .ProseMirror p.is-editor-empty:first-child::before {
|
|
9031
9034
|
--tw-text-opacity: 1;
|
|
9032
9035
|
color: rgb(208 208 208 / var(--tw-text-opacity));
|
|
9033
9036
|
content: attr(data-placeholder);
|
|
@@ -9036,56 +9039,56 @@ body {
|
|
|
9036
9039
|
pointer-events: none;
|
|
9037
9040
|
}
|
|
9038
9041
|
@media (max-width: 399px) {
|
|
9039
|
-
.style-editor-button-font[data-v-
|
|
9040
|
-
.style-editor-button-textstyle[data-v-
|
|
9042
|
+
.style-editor-button-font[data-v-14187e07],
|
|
9043
|
+
.style-editor-button-textstyle[data-v-14187e07] {
|
|
9041
9044
|
max-width: 48%;
|
|
9042
9045
|
padding-bottom: 0.25rem;
|
|
9043
9046
|
}
|
|
9044
|
-
.style-editor-button.stepper[data-v-
|
|
9047
|
+
.style-editor-button.stepper[data-v-14187e07] {
|
|
9045
9048
|
max-width: 40%;
|
|
9046
9049
|
}
|
|
9047
|
-
.style-editor-button-stepper[data-v-
|
|
9050
|
+
.style-editor-button-stepper[data-v-14187e07] {
|
|
9048
9051
|
max-width: 100%;
|
|
9049
9052
|
}
|
|
9050
|
-
.border.desktop[data-v-
|
|
9053
|
+
.border.desktop[data-v-14187e07] {
|
|
9051
9054
|
display: none;
|
|
9052
9055
|
}
|
|
9053
|
-
.border.mobile[data-v-
|
|
9056
|
+
.border.mobile[data-v-14187e07] {
|
|
9054
9057
|
display: block;
|
|
9055
9058
|
}
|
|
9056
|
-
[data-v-
|
|
9059
|
+
[data-v-14187e07] .left-align {
|
|
9057
9060
|
-webkit-transform: translateX(-48%);
|
|
9058
9061
|
transform: translateX(-48%);
|
|
9059
9062
|
}
|
|
9060
|
-
.hyperlink-popup[data-v-
|
|
9063
|
+
.hyperlink-popup[data-v-14187e07] {
|
|
9061
9064
|
z-index: 10000 !important;
|
|
9062
9065
|
}
|
|
9063
9066
|
}
|
|
9064
9067
|
@media (min-width: 400px) {
|
|
9065
|
-
.style-editor-button.stepper[data-v-
|
|
9068
|
+
.style-editor-button.stepper[data-v-14187e07] {
|
|
9066
9069
|
max-width: 32%;
|
|
9067
9070
|
}
|
|
9068
|
-
.style-editor-button-font[data-v-
|
|
9071
|
+
.style-editor-button-font[data-v-14187e07] {
|
|
9069
9072
|
max-width: 28%;
|
|
9070
9073
|
}
|
|
9071
|
-
.style-editor-button-stepper[data-v-
|
|
9074
|
+
.style-editor-button-stepper[data-v-14187e07] {
|
|
9072
9075
|
max-width: 100%;
|
|
9073
9076
|
}
|
|
9074
|
-
.style-editor-button-textstyle[data-v-
|
|
9077
|
+
.style-editor-button-textstyle[data-v-14187e07] {
|
|
9075
9078
|
max-width: 25%;
|
|
9076
9079
|
}
|
|
9077
|
-
.border.desktop[data-v-
|
|
9080
|
+
.border.desktop[data-v-14187e07] {
|
|
9078
9081
|
display: block;
|
|
9079
9082
|
}
|
|
9080
|
-
.border.mobile[data-v-
|
|
9083
|
+
.border.mobile[data-v-14187e07] {
|
|
9081
9084
|
display: none;
|
|
9082
9085
|
}
|
|
9083
|
-
[data-v-
|
|
9086
|
+
[data-v-14187e07] .left-align {
|
|
9084
9087
|
-webkit-transform: translateX(-25%);
|
|
9085
9088
|
transform: translateX(-25%);
|
|
9086
9089
|
}
|
|
9087
9090
|
}
|
|
9088
|
-
.drop-down-item[data-v-
|
|
9091
|
+
.drop-down-item[data-v-14187e07]:hover {
|
|
9089
9092
|
background-color: #eee;
|
|
9090
9093
|
}
|
|
9091
9094
|
|
|
@@ -1656,6 +1656,9 @@ a.maker-anchor {
|
|
|
1656
1656
|
.tw-max-w-\[310px\] {
|
|
1657
1657
|
max-width: 310px;
|
|
1658
1658
|
}
|
|
1659
|
+
.tw-max-w-\[350px\] {
|
|
1660
|
+
max-width: 350px;
|
|
1661
|
+
}
|
|
1659
1662
|
.tw-max-w-\[448px\] {
|
|
1660
1663
|
max-width: 448px;
|
|
1661
1664
|
}
|
|
@@ -9510,11 +9513,11 @@ body {
|
|
|
9510
9513
|
contain-intrinsic-size: auto 36px;
|
|
9511
9514
|
}
|
|
9512
9515
|
|
|
9513
|
-
.rich-text-editor[data-v-
|
|
9516
|
+
.rich-text-editor[data-v-14187e07]:focus-within {
|
|
9514
9517
|
--tw-border-opacity: 1;
|
|
9515
9518
|
border-color: rgb(94 94 94 / var(--tw-border-opacity));
|
|
9516
9519
|
}
|
|
9517
|
-
.style-editor[data-v-
|
|
9520
|
+
.style-editor[data-v-14187e07] {
|
|
9518
9521
|
display: -webkit-box;
|
|
9519
9522
|
display: -ms-flexbox;
|
|
9520
9523
|
display: flex;
|
|
@@ -9525,7 +9528,7 @@ body {
|
|
|
9525
9528
|
-ms-flex-wrap: wrap;
|
|
9526
9529
|
flex-wrap: wrap;
|
|
9527
9530
|
}
|
|
9528
|
-
.style-editor[data-v-
|
|
9531
|
+
.style-editor[data-v-14187e07] button:not(.c-button-style) {
|
|
9529
9532
|
display: -webkit-box;
|
|
9530
9533
|
display: -ms-flexbox;
|
|
9531
9534
|
display: flex;
|
|
@@ -9535,16 +9538,16 @@ body {
|
|
|
9535
9538
|
padding-left: 0.5rem;
|
|
9536
9539
|
padding-right: 0.5rem;
|
|
9537
9540
|
}
|
|
9538
|
-
.style-editor-button[data-v-
|
|
9541
|
+
.style-editor-button[data-v-14187e07] {
|
|
9539
9542
|
cursor: pointer;
|
|
9540
9543
|
padding-left: 0.25rem;
|
|
9541
9544
|
padding-top: 0.25rem;
|
|
9542
9545
|
}
|
|
9543
|
-
.toolbar-editor-button.active[data-v-
|
|
9546
|
+
.toolbar-editor-button.active[data-v-14187e07] {
|
|
9544
9547
|
font-weight: 700;
|
|
9545
9548
|
background: #e3e3e3;
|
|
9546
9549
|
}
|
|
9547
|
-
.toolbar-editor-button[data-v-
|
|
9550
|
+
.toolbar-editor-button[data-v-14187e07] {
|
|
9548
9551
|
height: 32px;
|
|
9549
9552
|
width: 32px;
|
|
9550
9553
|
border-radius: 4px;
|
|
@@ -9562,7 +9565,7 @@ body {
|
|
|
9562
9565
|
-ms-flex-pack: center;
|
|
9563
9566
|
justify-content: center;
|
|
9564
9567
|
}
|
|
9565
|
-
[data-v-
|
|
9568
|
+
[data-v-14187e07] .ProseMirror {
|
|
9566
9569
|
border-top: 1px solid #ccc;
|
|
9567
9570
|
min-height: 150px;
|
|
9568
9571
|
padding: 8px;
|
|
@@ -9575,13 +9578,13 @@ body {
|
|
|
9575
9578
|
max-height: 14rem;
|
|
9576
9579
|
overflow: auto;
|
|
9577
9580
|
}
|
|
9578
|
-
.editor-compact[data-v-
|
|
9581
|
+
.editor-compact[data-v-14187e07] .ProseMirror {
|
|
9579
9582
|
min-height: 6rem;
|
|
9580
9583
|
}
|
|
9581
|
-
[data-v-
|
|
9584
|
+
[data-v-14187e07] .ProseMirror:focus {
|
|
9582
9585
|
outline: none;
|
|
9583
9586
|
}
|
|
9584
|
-
[data-v-
|
|
9587
|
+
[data-v-14187e07] .ProseMirror * {
|
|
9585
9588
|
text-align: left !important;
|
|
9586
9589
|
font-size: 16px !important;
|
|
9587
9590
|
color: #606060 !important;
|
|
@@ -9590,28 +9593,28 @@ body {
|
|
|
9590
9593
|
background-color: transparent !important;
|
|
9591
9594
|
font-family: 'Lato' !important;
|
|
9592
9595
|
}
|
|
9593
|
-
[data-v-
|
|
9596
|
+
[data-v-14187e07] .ProseMirror a s,[data-v-14187e07] .ProseMirror a strike,[data-v-14187e07] .ProseMirror a [data-strike] {
|
|
9594
9597
|
text-decoration: line-through !important;
|
|
9595
9598
|
}
|
|
9596
|
-
[data-v-
|
|
9599
|
+
[data-v-14187e07] .ProseMirror a,[data-v-14187e07] .ProseMirror a * {
|
|
9597
9600
|
color: #0097d7 !important;
|
|
9598
9601
|
text-decoration: underline !important;
|
|
9599
9602
|
}
|
|
9600
|
-
.error-message[data-v-
|
|
9603
|
+
.error-message[data-v-14187e07] {
|
|
9601
9604
|
color: #d32f2f;
|
|
9602
9605
|
font-size: 0.875rem;
|
|
9603
9606
|
margin-top: 4px;
|
|
9604
9607
|
}
|
|
9605
|
-
.popup-container[data-v-
|
|
9608
|
+
.popup-container[data-v-14187e07] {
|
|
9606
9609
|
position: absolute;
|
|
9607
9610
|
z-index: 10;
|
|
9608
9611
|
right: 8%;
|
|
9609
9612
|
}
|
|
9610
|
-
.hyperlink-preview[data-v-
|
|
9613
|
+
.hyperlink-preview[data-v-14187e07] {
|
|
9611
9614
|
position: absolute;
|
|
9612
9615
|
z-index: 10;
|
|
9613
9616
|
}
|
|
9614
|
-
.popup-panel[data-v-
|
|
9617
|
+
.popup-panel[data-v-14187e07] {
|
|
9615
9618
|
background: #fff;
|
|
9616
9619
|
border: 1px solid #ccc;
|
|
9617
9620
|
border-radius: 8px;
|
|
@@ -9619,17 +9622,17 @@ body {
|
|
|
9619
9622
|
-webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
|
|
9620
9623
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
|
|
9621
9624
|
}
|
|
9622
|
-
.popup-panel[data-v-
|
|
9625
|
+
.popup-panel[data-v-14187e07] input {
|
|
9623
9626
|
border: 1px solid #ccc;
|
|
9624
9627
|
border-radius: 8px;
|
|
9625
9628
|
}
|
|
9626
|
-
.border[data-v-
|
|
9629
|
+
.border[data-v-14187e07] {
|
|
9627
9630
|
width: 100%;
|
|
9628
9631
|
--tw-bg-opacity: 1;
|
|
9629
9632
|
background-color: rgb(208 208 208 / var(--tw-bg-opacity));
|
|
9630
9633
|
height: 1px;
|
|
9631
9634
|
}
|
|
9632
|
-
[data-v-
|
|
9635
|
+
[data-v-14187e07] .text-dropdown-title {
|
|
9633
9636
|
height: 2rem;
|
|
9634
9637
|
width: 100%;
|
|
9635
9638
|
font-size: 0.875rem;
|
|
@@ -9638,7 +9641,7 @@ body {
|
|
|
9638
9641
|
color: rgb(43 43 43 / var(--tw-text-opacity));
|
|
9639
9642
|
font-weight: 300;
|
|
9640
9643
|
}
|
|
9641
|
-
[data-v-
|
|
9644
|
+
[data-v-14187e07] .ProseMirror p.is-editor-empty:first-child::before {
|
|
9642
9645
|
--tw-text-opacity: 1;
|
|
9643
9646
|
color: rgb(208 208 208 / var(--tw-text-opacity));
|
|
9644
9647
|
content: attr(data-placeholder);
|
|
@@ -9647,56 +9650,56 @@ body {
|
|
|
9647
9650
|
pointer-events: none;
|
|
9648
9651
|
}
|
|
9649
9652
|
@media (max-width: 399px) {
|
|
9650
|
-
.style-editor-button-font[data-v-
|
|
9651
|
-
.style-editor-button-textstyle[data-v-
|
|
9653
|
+
.style-editor-button-font[data-v-14187e07],
|
|
9654
|
+
.style-editor-button-textstyle[data-v-14187e07] {
|
|
9652
9655
|
max-width: 48%;
|
|
9653
9656
|
padding-bottom: 0.25rem;
|
|
9654
9657
|
}
|
|
9655
|
-
.style-editor-button.stepper[data-v-
|
|
9658
|
+
.style-editor-button.stepper[data-v-14187e07] {
|
|
9656
9659
|
max-width: 40%;
|
|
9657
9660
|
}
|
|
9658
|
-
.style-editor-button-stepper[data-v-
|
|
9661
|
+
.style-editor-button-stepper[data-v-14187e07] {
|
|
9659
9662
|
max-width: 100%;
|
|
9660
9663
|
}
|
|
9661
|
-
.border.desktop[data-v-
|
|
9664
|
+
.border.desktop[data-v-14187e07] {
|
|
9662
9665
|
display: none;
|
|
9663
9666
|
}
|
|
9664
|
-
.border.mobile[data-v-
|
|
9667
|
+
.border.mobile[data-v-14187e07] {
|
|
9665
9668
|
display: block;
|
|
9666
9669
|
}
|
|
9667
|
-
[data-v-
|
|
9670
|
+
[data-v-14187e07] .left-align {
|
|
9668
9671
|
-webkit-transform: translateX(-48%);
|
|
9669
9672
|
transform: translateX(-48%);
|
|
9670
9673
|
}
|
|
9671
|
-
.hyperlink-popup[data-v-
|
|
9674
|
+
.hyperlink-popup[data-v-14187e07] {
|
|
9672
9675
|
z-index: 10000 !important;
|
|
9673
9676
|
}
|
|
9674
9677
|
}
|
|
9675
9678
|
@media (min-width: 400px) {
|
|
9676
|
-
.style-editor-button.stepper[data-v-
|
|
9679
|
+
.style-editor-button.stepper[data-v-14187e07] {
|
|
9677
9680
|
max-width: 32%;
|
|
9678
9681
|
}
|
|
9679
|
-
.style-editor-button-font[data-v-
|
|
9682
|
+
.style-editor-button-font[data-v-14187e07] {
|
|
9680
9683
|
max-width: 28%;
|
|
9681
9684
|
}
|
|
9682
|
-
.style-editor-button-stepper[data-v-
|
|
9685
|
+
.style-editor-button-stepper[data-v-14187e07] {
|
|
9683
9686
|
max-width: 100%;
|
|
9684
9687
|
}
|
|
9685
|
-
.style-editor-button-textstyle[data-v-
|
|
9688
|
+
.style-editor-button-textstyle[data-v-14187e07] {
|
|
9686
9689
|
max-width: 25%;
|
|
9687
9690
|
}
|
|
9688
|
-
.border.desktop[data-v-
|
|
9691
|
+
.border.desktop[data-v-14187e07] {
|
|
9689
9692
|
display: block;
|
|
9690
9693
|
}
|
|
9691
|
-
.border.mobile[data-v-
|
|
9694
|
+
.border.mobile[data-v-14187e07] {
|
|
9692
9695
|
display: none;
|
|
9693
9696
|
}
|
|
9694
|
-
[data-v-
|
|
9697
|
+
[data-v-14187e07] .left-align {
|
|
9695
9698
|
-webkit-transform: translateX(-25%);
|
|
9696
9699
|
transform: translateX(-25%);
|
|
9697
9700
|
}
|
|
9698
9701
|
}
|
|
9699
|
-
.drop-down-item[data-v-
|
|
9702
|
+
.drop-down-item[data-v-14187e07]:hover {
|
|
9700
9703
|
background-color: #eee;
|
|
9701
9704
|
}
|
|
9702
9705
|
|