@firestitch/html-editor 18.0.42 → 18.1.0
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/app/modules/html-editor/components/html-editor/html-editor.component.d.ts +3 -0
- package/app/modules/html-editor/enums/default-plugin.enum.d.ts +1 -0
- package/app/modules/html-editor/fs-html-editor.module.d.ts +1 -0
- package/app/modules/html-editor/interfaces/html-editor-config.d.ts +1 -0
- package/app/modules/html-editor/interfaces/toolbar-button.d.ts +2 -1
- package/esm2022/app/modules/html-editor/components/html-editor/html-editor.component.mjs +48 -8
- package/esm2022/app/modules/html-editor/enums/default-plugin.enum.mjs +1 -1
- package/esm2022/app/modules/html-editor/fs-html-editor.module.mjs +2 -1
- package/esm2022/app/modules/html-editor/interfaces/html-editor-config.mjs +1 -1
- package/esm2022/app/modules/html-editor/interfaces/toolbar-button.mjs +1 -1
- package/esm2022/app/modules/html-editor/services/froala-loader.service.mjs +2 -1
- package/fesm2022/firestitch-html-editor.mjs +49 -7
- package/fesm2022/firestitch-html-editor.mjs.map +1 -1
- package/package.json +1 -1
- package/assets/frame.svg +0 -42
- package/styles.scss +0 -150
package/package.json
CHANGED
package/assets/frame.svg
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
2
|
-
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
4
|
-
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
5
|
-
width="408px" height="408px" viewBox="0 0 408 408" style="enable-background:new 0 0 408 408;" xml:space="preserve">
|
|
6
|
-
<g>
|
|
7
|
-
<g id="crop-square">
|
|
8
|
-
<path d="M357,0H51C22.95,0,0,22.95,0,51v306c0,28.05,22.95,51,51,51h306c28.05,0,51-22.95,51-51V51C408,22.95,385.05,0,357,0z
|
|
9
|
-
M357,357H51V51h306V357z"/>
|
|
10
|
-
</g>
|
|
11
|
-
</g>
|
|
12
|
-
<g>
|
|
13
|
-
</g>
|
|
14
|
-
<g>
|
|
15
|
-
</g>
|
|
16
|
-
<g>
|
|
17
|
-
</g>
|
|
18
|
-
<g>
|
|
19
|
-
</g>
|
|
20
|
-
<g>
|
|
21
|
-
</g>
|
|
22
|
-
<g>
|
|
23
|
-
</g>
|
|
24
|
-
<g>
|
|
25
|
-
</g>
|
|
26
|
-
<g>
|
|
27
|
-
</g>
|
|
28
|
-
<g>
|
|
29
|
-
</g>
|
|
30
|
-
<g>
|
|
31
|
-
</g>
|
|
32
|
-
<g>
|
|
33
|
-
</g>
|
|
34
|
-
<g>
|
|
35
|
-
</g>
|
|
36
|
-
<g>
|
|
37
|
-
</g>
|
|
38
|
-
<g>
|
|
39
|
-
</g>
|
|
40
|
-
<g>
|
|
41
|
-
</g>
|
|
42
|
-
</svg>
|
package/styles.scss
DELETED
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
@use '@angular/material' as mat;
|
|
2
|
-
|
|
3
|
-
@mixin fs-html-editor($theme) {
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
fs-html-editor {
|
|
8
|
-
position: relative;
|
|
9
|
-
display: block;
|
|
10
|
-
|
|
11
|
-
&.focused {
|
|
12
|
-
.bottom-line {
|
|
13
|
-
opacity: 1;
|
|
14
|
-
display: block;
|
|
15
|
-
transform: scaleX(1);
|
|
16
|
-
transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.1s cubic-bezier(0.25, 0.8, 0.25, 1),
|
|
17
|
-
background-color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
fs-html-renderer {
|
|
23
|
-
.fr-view {
|
|
24
|
-
> *:first-child {
|
|
25
|
-
margin-top: 0;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
> *:last-child {
|
|
29
|
-
margin-bottom: 0;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
.fs-html-editor-default {
|
|
36
|
-
position: relative;
|
|
37
|
-
|
|
38
|
-
p {
|
|
39
|
-
margin: 10px 0;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
hr {
|
|
43
|
-
border: none;
|
|
44
|
-
height: 1px;
|
|
45
|
-
background-color: #d5d5d5;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
table {
|
|
49
|
-
border: none;
|
|
50
|
-
border-collapse: collapse;
|
|
51
|
-
empty-cells: show;
|
|
52
|
-
max-width: 100%;
|
|
53
|
-
|
|
54
|
-
th, td {
|
|
55
|
-
padding: 5px;
|
|
56
|
-
border: 1px solid #DDD;
|
|
57
|
-
min-width: 5px;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
th {
|
|
61
|
-
background: #ececec;
|
|
62
|
-
text-align: center;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
blockquote {
|
|
67
|
-
border-left: 3px solid #ccc;
|
|
68
|
-
margin: 5px 0;
|
|
69
|
-
padding: 6px 16px;
|
|
70
|
-
color: #6b6b6b;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
p.code {
|
|
74
|
-
font-family: monospace;
|
|
75
|
-
background: #eaeaea;
|
|
76
|
-
padding: 10px;
|
|
77
|
-
border-radius: 5px;
|
|
78
|
-
white-space: pre-wrap;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
img {
|
|
82
|
-
max-width: 100%;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
li {
|
|
86
|
-
margin: 5px 0;
|
|
87
|
-
margin-left: 40px;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
ol, ul {
|
|
91
|
-
padding: 0;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
ol {
|
|
95
|
-
list-style-type: decimal;
|
|
96
|
-
ol {
|
|
97
|
-
list-style-type: lower-alpha;
|
|
98
|
-
ol {
|
|
99
|
-
list-style-type: decimal;
|
|
100
|
-
ol {
|
|
101
|
-
list-style-type: lower-alpha;
|
|
102
|
-
ol {
|
|
103
|
-
list-style-type: decimal;
|
|
104
|
-
ol {
|
|
105
|
-
list-style-type: lower-alpha;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
ul.checklist {
|
|
114
|
-
list-style: none;
|
|
115
|
-
ul {
|
|
116
|
-
list-style: none;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
li {
|
|
120
|
-
|
|
121
|
-
&:before {
|
|
122
|
-
content: url('data:image/svg+xml;utf8,<svg enable-background="new 0 0 408 408" version="1.1" viewBox="0 0 408 408" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><path d="M357,0H51C22.95,0,0,22.95,0,51v306c0,28.05,22.95,51,51,51h306c28.05,0,51-22.95,51-51V51C408,22.95,385.05,0,357,0z M357,357H51V51h306V357z"/></svg>') !important;
|
|
123
|
-
cursor: pointer;
|
|
124
|
-
height: 1em;
|
|
125
|
-
margin-left: -1.5em;
|
|
126
|
-
margin-top: .125em;
|
|
127
|
-
position: absolute;
|
|
128
|
-
width: 1em;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
&.checked {
|
|
132
|
-
&:before {
|
|
133
|
-
content: url('data:image/svg+xml;utf8,<svg version="1.1" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" viewBox="0 0 459 459" style="enable-background:new 0 0 459 459;" xml:space="preserve"><g><g id="check-box-outline"><path d="M124.95,181.05l-35.7,35.7L204,331.5l255-255l-35.7-35.7L204,260.1L124.95,181.05z M408,408H51V51h255V0H51C22.95,0,0,22.95,0,51v357c0,28.05,22.95,51,51,51h357c28.05,0,51-22.95,51-51V204h-51V408z"/></g></g></svg>') !important;
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
blockquote,
|
|
140
|
-
blockquote blockquote {
|
|
141
|
-
background: #f9f9f9;
|
|
142
|
-
p {
|
|
143
|
-
display: inline;
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
video {
|
|
148
|
-
width: 100%;
|
|
149
|
-
}
|
|
150
|
-
}
|