@tailor-cms/ce-html-edit 0.0.15 → 0.1.1

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/index.css CHANGED
@@ -11,72 +11,93 @@
11
11
  }
12
12
  [data-v-e73020ec] .v-btn.v-btn--active {
13
13
  color: rgba(var(--v-theme-primary));
14
- }.tce-container[data-v-9c1f4332] {
14
+ }.tce-container[data-v-e677fca4] {
15
15
  text-align: left;
16
16
  }
17
- [data-v-9c1f4332] .ProseMirror {
17
+ [data-v-e677fca4] .ProseMirror {
18
18
  min-height: 5rem;
19
19
  padding: 0.5rem;
20
20
  font-family: Arial, Helvetica, sans-serif;
21
21
  font-size: 1rem;
22
22
  outline: none;
23
23
  }
24
- [data-v-9c1f4332] .ProseMirror p.is-editor-empty:first-child::before {
24
+ [data-v-e677fca4] .ProseMirror p.is-editor-empty:first-child::before {
25
25
  content: attr(data-placeholder);
26
26
  height: 0;
27
27
  opacity: 0.5;
28
28
  float: left;
29
29
  pointer-events: none;
30
30
  }
31
- [data-v-9c1f4332] .ProseMirror > * + * {
31
+ [data-v-e677fca4] .ProseMirror > * + * {
32
32
  margin-top: 0.75em;
33
33
  }
34
- [data-v-9c1f4332] .ProseMirror ul,[data-v-9c1f4332] .ProseMirror ol {
35
- padding: 0 1rem;
36
- }
37
- [data-v-9c1f4332] .ProseMirror h1,[data-v-9c1f4332] .ProseMirror h2,[data-v-9c1f4332] .ProseMirror h3,[data-v-9c1f4332] .ProseMirror h4,[data-v-9c1f4332] .ProseMirror h5,[data-v-9c1f4332] .ProseMirror h6 {
34
+ [data-v-e677fca4] .ProseMirror h1,[data-v-e677fca4] .ProseMirror h2,[data-v-e677fca4] .ProseMirror h3,[data-v-e677fca4] .ProseMirror h4,[data-v-e677fca4] .ProseMirror h5,[data-v-e677fca4] .ProseMirror h6 {
38
35
  line-height: 1.1;
39
36
  }
40
- [data-v-9c1f4332] .ProseMirror code {
41
- background-color: rgba(97, 97, 97, 0.1);
42
- color: #616161;
37
+ [data-v-e677fca4] .ProseMirror h1 {
38
+ font-size: 2.5rem;
39
+ }
40
+ [data-v-e677fca4] .ProseMirror h2 {
41
+ font-size: 2.25rem;
42
+ }
43
+ [data-v-e677fca4] .ProseMirror h3 {
44
+ font-size: 2rem;
45
+ }
46
+ [data-v-e677fca4] .ProseMirror h4 {
47
+ font-size: 1.75rem;
48
+ }
49
+ [data-v-e677fca4] .ProseMirror h5 {
50
+ font-size: 1.5rem;
51
+ }
52
+ [data-v-e677fca4] .ProseMirror h6 {
53
+ font-size: 1.25rem;
43
54
  }
44
- [data-v-9c1f4332] .ProseMirror pre {
45
- background: #0d0d0d;
46
- color: #fff;
47
- padding: 0.75rem 1rem;
48
- border-radius: 0.5rem;
55
+ [data-v-e677fca4] .ProseMirror blockquote {
56
+ padding: 0.25rem 1rem;
57
+ border-left: 2px solid rgba(13, 13, 13, 0.1);
58
+ font-family: Georgia, "Times New Roman", Times, serif;
59
+ font-style: italic;
60
+ }
61
+ [data-v-e677fca4] .ProseMirror ul,[data-v-e677fca4] .ProseMirror ol {
62
+ padding: 0 1.25rem;
63
+ }
64
+ [data-v-e677fca4] .ProseMirror code {
65
+ font-family: "Source Code Pro", monospace !important;
66
+ background: #eee;
67
+ padding: 0.125rem 0.5rem;
68
+ border-radius: 8px;
49
69
  }
50
- [data-v-9c1f4332] .ProseMirror pre code {
51
- color: inherit;
70
+ [data-v-e677fca4] .ProseMirror pre {
71
+ padding: 0.5rem 1rem;
72
+ border-radius: 8px;
73
+ background: #eee;
74
+ white-space: pre-wrap;
75
+ }
76
+ [data-v-e677fca4] .ProseMirror pre code {
52
77
  padding: 0;
78
+ font-size: 0.875rem;
53
79
  background: none;
54
- font-size: 0.8rem;
55
80
  }
56
- [data-v-9c1f4332] .ProseMirror img {
81
+ [data-v-e677fca4] .ProseMirror img {
57
82
  max-width: 100%;
58
83
  height: auto;
59
84
  }
60
- [data-v-9c1f4332] .ProseMirror img.ProseMirror-selectednode {
85
+ [data-v-e677fca4] .ProseMirror img.ProseMirror-selectednode {
61
86
  outline: 2px solid #68cef8;
62
87
  }
63
- [data-v-9c1f4332] .ProseMirror blockquote {
64
- padding-left: 1rem;
65
- border-left: 2px solid rgba(13, 13, 13, 0.1);
66
- }
67
- [data-v-9c1f4332] .ProseMirror hr {
88
+ [data-v-e677fca4] .ProseMirror hr {
68
89
  border: none;
69
90
  border-top: 2px solid rgba(13, 13, 13, 0.1);
70
91
  margin: 2rem 0;
71
92
  }
72
- [data-v-9c1f4332] .ProseMirror table {
93
+ [data-v-e677fca4] .ProseMirror table {
73
94
  border-collapse: collapse;
74
95
  table-layout: fixed;
75
96
  width: 100%;
76
97
  margin: 0;
77
98
  overflow: hidden;
78
99
  }
79
- [data-v-9c1f4332] .ProseMirror table td,[data-v-9c1f4332] .ProseMirror table th {
100
+ [data-v-e677fca4] .ProseMirror table td,[data-v-e677fca4] .ProseMirror table th {
80
101
  min-width: 1em;
81
102
  border: 2px solid #ced4da;
82
103
  padding: 3px 5px;
@@ -84,15 +105,15 @@
84
105
  box-sizing: border-box;
85
106
  position: relative;
86
107
  }
87
- [data-v-9c1f4332] .ProseMirror table td > *,[data-v-9c1f4332] .ProseMirror table th > * {
108
+ [data-v-e677fca4] .ProseMirror table td > *,[data-v-e677fca4] .ProseMirror table th > * {
88
109
  margin-bottom: 0;
89
110
  }
90
- [data-v-9c1f4332] .ProseMirror table th {
111
+ [data-v-e677fca4] .ProseMirror table th {
91
112
  font-weight: bold;
92
113
  text-align: left;
93
114
  background-color: #f1f3f5;
94
115
  }
95
- [data-v-9c1f4332] .ProseMirror table .selectedCell:after {
116
+ [data-v-e677fca4] .ProseMirror table .selectedCell:after {
96
117
  z-index: 2;
97
118
  position: absolute;
98
119
  content: "";
@@ -103,7 +124,7 @@
103
124
  background: rgba(200, 200, 255, 0.4);
104
125
  pointer-events: none;
105
126
  }
106
- [data-v-9c1f4332] .ProseMirror table .column-resize-handle {
127
+ [data-v-e677fca4] .ProseMirror table .column-resize-handle {
107
128
  position: absolute;
108
129
  right: -2px;
109
130
  top: 0;
@@ -112,7 +133,7 @@
112
133
  background-color: #adf;
113
134
  pointer-events: none;
114
135
  }
115
- [data-v-9c1f4332] .ProseMirror table p {
136
+ [data-v-e677fca4] .ProseMirror table p {
116
137
  margin: 0;
117
138
  }.v-sheet[data-v-8e6263e8] {
118
139
  display: flex;
@@ -0,0 +1,6 @@
1
+ import type { ElementManifest } from '@tailor-cms/ce-html-manifest';
2
+ import Edit from './components/Edit.vue';
3
+ import TopToolbar from './components/TopToolbar.vue';
4
+ declare const manifest: ElementManifest;
5
+ export default manifest;
6
+ export { Edit, TopToolbar };