@wordpress/block-library 9.36.1-next.738bb1424.0 → 9.36.2-next.8fd3f8831.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.
Files changed (168) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/build/accordion-heading/deprecated.cjs +120 -1
  3. package/build/accordion-heading/deprecated.cjs.map +2 -2
  4. package/build/accordion-heading/edit.cjs +9 -1
  5. package/build/accordion-heading/edit.cjs.map +3 -3
  6. package/build/accordion-heading/save.cjs +1 -0
  7. package/build/accordion-heading/save.cjs.map +2 -2
  8. package/build/accordion-item/block.json +3 -0
  9. package/build/accordion-item/edit.cjs +3 -37
  10. package/build/accordion-item/edit.cjs.map +2 -2
  11. package/build/accordion-panel/block.json +1 -4
  12. package/build/accordion-panel/edit.cjs +3 -2
  13. package/build/accordion-panel/edit.cjs.map +2 -2
  14. package/build/breadcrumbs/block.json +1 -2
  15. package/build/breadcrumbs/edit.cjs +2 -1
  16. package/build/breadcrumbs/edit.cjs.map +2 -2
  17. package/build/button/index.cjs +9 -1
  18. package/build/button/index.cjs.map +2 -2
  19. package/build/buttons/block.json +1 -0
  20. package/build/comment-author-name/block.json +1 -3
  21. package/build/comment-author-name/deprecated.cjs +57 -1
  22. package/build/comment-author-name/deprecated.cjs.map +3 -3
  23. package/build/comment-author-name/edit.cjs +9 -19
  24. package/build/comment-author-name/edit.cjs.map +3 -3
  25. package/build/freeform/edit.cjs +48 -174
  26. package/build/freeform/edit.cjs.map +2 -2
  27. package/build/freeform/modal.cjs +51 -67
  28. package/build/freeform/modal.cjs.map +2 -2
  29. package/build/index.cjs +2 -2
  30. package/build/index.cjs.map +2 -2
  31. package/build/list/block.json +2 -1
  32. package/build/query/edit/query-content.cjs +4 -3
  33. package/build/query/edit/query-content.cjs.map +2 -2
  34. package/build/query/edit/query-placeholder.cjs +4 -3
  35. package/build/query/edit/query-placeholder.cjs.map +2 -2
  36. package/build/query/edit/query-toolbar.cjs +19 -7
  37. package/build/query/edit/query-toolbar.cjs.map +3 -3
  38. package/build/social-links/block.json +2 -1
  39. package/build-module/accordion-heading/deprecated.js +122 -2
  40. package/build-module/accordion-heading/deprecated.js.map +2 -2
  41. package/build-module/accordion-heading/edit.js +11 -2
  42. package/build-module/accordion-heading/edit.js.map +2 -2
  43. package/build-module/accordion-heading/save.js +1 -0
  44. package/build-module/accordion-heading/save.js.map +2 -2
  45. package/build-module/accordion-item/block.json +3 -0
  46. package/build-module/accordion-item/edit.js +3 -37
  47. package/build-module/accordion-item/edit.js.map +2 -2
  48. package/build-module/accordion-panel/block.json +1 -4
  49. package/build-module/accordion-panel/edit.js +3 -2
  50. package/build-module/accordion-panel/edit.js.map +2 -2
  51. package/build-module/breadcrumbs/block.json +1 -2
  52. package/build-module/breadcrumbs/edit.js +2 -1
  53. package/build-module/breadcrumbs/edit.js.map +2 -2
  54. package/build-module/button/index.js +9 -1
  55. package/build-module/button/index.js.map +2 -2
  56. package/build-module/buttons/block.json +1 -0
  57. package/build-module/comment-author-name/block.json +1 -3
  58. package/build-module/comment-author-name/deprecated.js +57 -1
  59. package/build-module/comment-author-name/deprecated.js.map +2 -2
  60. package/build-module/comment-author-name/edit.js +10 -25
  61. package/build-module/comment-author-name/edit.js.map +2 -2
  62. package/build-module/freeform/edit.js +56 -176
  63. package/build-module/freeform/edit.js.map +2 -2
  64. package/build-module/freeform/modal.js +55 -78
  65. package/build-module/freeform/modal.js.map +2 -2
  66. package/build-module/index.js +2 -2
  67. package/build-module/index.js.map +2 -2
  68. package/build-module/list/block.json +2 -1
  69. package/build-module/query/edit/query-content.js +5 -5
  70. package/build-module/query/edit/query-content.js.map +2 -2
  71. package/build-module/query/edit/query-placeholder.js +4 -4
  72. package/build-module/query/edit/query-placeholder.js.map +2 -2
  73. package/build-module/query/edit/query-toolbar.js +22 -7
  74. package/build-module/query/edit/query-toolbar.js.map +2 -2
  75. package/build-module/social-links/block.json +2 -1
  76. package/build-style/audio/style-rtl.css +4 -0
  77. package/build-style/audio/style.css +4 -0
  78. package/build-style/audio/theme-rtl.css +4 -0
  79. package/build-style/audio/theme.css +4 -0
  80. package/build-style/columns/style-rtl.css +4 -0
  81. package/build-style/columns/style.css +4 -0
  82. package/build-style/common-rtl.css +4 -0
  83. package/build-style/common.css +4 -0
  84. package/build-style/editor-rtl.css +9 -324
  85. package/build-style/editor.css +9 -328
  86. package/build-style/embed/style-rtl.css +4 -0
  87. package/build-style/embed/style.css +4 -0
  88. package/build-style/embed/theme-rtl.css +4 -0
  89. package/build-style/embed/theme.css +4 -0
  90. package/build-style/freeform/editor-rtl.css +10 -330
  91. package/build-style/freeform/editor.css +10 -334
  92. package/build-style/gallery/editor-rtl.css +4 -0
  93. package/build-style/gallery/editor.css +4 -0
  94. package/build-style/gallery/style-rtl.css +4 -0
  95. package/build-style/gallery/style.css +4 -0
  96. package/build-style/gallery/theme-rtl.css +4 -0
  97. package/build-style/gallery/theme.css +4 -0
  98. package/build-style/html/editor-rtl.css +4 -0
  99. package/build-style/html/editor.css +4 -0
  100. package/build-style/image/editor-rtl.css +4 -0
  101. package/build-style/image/editor.css +4 -0
  102. package/build-style/image/style-rtl.css +4 -0
  103. package/build-style/image/style.css +4 -0
  104. package/build-style/image/theme-rtl.css +4 -0
  105. package/build-style/image/theme.css +4 -0
  106. package/build-style/latest-posts/style-rtl.css +4 -0
  107. package/build-style/latest-posts/style.css +4 -0
  108. package/build-style/navigation/editor-rtl.css +4 -0
  109. package/build-style/navigation/editor.css +4 -0
  110. package/build-style/navigation/style-rtl.css +4 -0
  111. package/build-style/navigation/style.css +4 -0
  112. package/build-style/navigation-submenu/editor-rtl.css +4 -0
  113. package/build-style/navigation-submenu/editor.css +4 -0
  114. package/build-style/page-list/editor-rtl.css +4 -0
  115. package/build-style/page-list/editor.css +4 -0
  116. package/build-style/paragraph/editor-rtl.css +5 -0
  117. package/build-style/paragraph/editor.css +5 -0
  118. package/build-style/post-template/style-rtl.css +4 -0
  119. package/build-style/post-template/style.css +4 -0
  120. package/build-style/query/editor-rtl.css +4 -0
  121. package/build-style/query/editor.css +4 -0
  122. package/build-style/rss/style-rtl.css +4 -0
  123. package/build-style/rss/style.css +4 -0
  124. package/build-style/shortcode/editor-rtl.css +4 -0
  125. package/build-style/shortcode/editor.css +4 -0
  126. package/build-style/style-rtl.css +4 -0
  127. package/build-style/style.css +4 -0
  128. package/build-style/table/editor-rtl.css +4 -0
  129. package/build-style/table/editor.css +4 -0
  130. package/build-style/table/theme-rtl.css +4 -0
  131. package/build-style/table/theme.css +4 -0
  132. package/build-style/template-part/editor-rtl.css +4 -0
  133. package/build-style/template-part/editor.css +4 -0
  134. package/build-style/theme-rtl.css +4 -0
  135. package/build-style/theme.css +4 -0
  136. package/build-style/video/style-rtl.css +4 -0
  137. package/build-style/video/style.css +4 -0
  138. package/build-style/video/theme-rtl.css +4 -0
  139. package/build-style/video/theme.css +4 -0
  140. package/package.json +37 -37
  141. package/src/accordion-heading/deprecated.js +122 -1
  142. package/src/accordion-heading/edit.js +11 -1
  143. package/src/accordion-heading/save.js +1 -0
  144. package/src/accordion-item/block.json +3 -0
  145. package/src/accordion-item/edit.js +4 -38
  146. package/src/accordion-panel/block.json +1 -4
  147. package/src/accordion-panel/edit.js +3 -4
  148. package/src/breadcrumbs/block.json +1 -2
  149. package/src/breadcrumbs/edit.js +2 -1
  150. package/src/breadcrumbs/index.php +23 -1
  151. package/src/button/index.js +12 -0
  152. package/src/button/test/get-experimental-label.js +50 -0
  153. package/src/buttons/block.json +1 -0
  154. package/src/comment-author-name/block.json +1 -3
  155. package/src/comment-author-name/deprecated.js +61 -1
  156. package/src/comment-author-name/edit.js +10 -34
  157. package/src/freeform/edit.js +60 -245
  158. package/src/freeform/editor.scss +1 -382
  159. package/src/freeform/modal.js +47 -80
  160. package/src/index.js +1 -1
  161. package/src/list/block.json +2 -1
  162. package/src/paragraph/editor.scss +8 -0
  163. package/src/post-date/index.php +4 -7
  164. package/src/query/edit/query-content.js +3 -3
  165. package/src/query/edit/query-placeholder.js +3 -3
  166. package/src/query/edit/query-toolbar.js +47 -31
  167. package/src/social-links/block.json +2 -1
  168. package/src/term-template/index.php +1 -1
@@ -83,6 +83,10 @@
83
83
  /**
84
84
  * Reset the WP Admin page styles for Gutenberg-like pages.
85
85
  */
86
+ /**
87
+ * Creates a checkerboard pattern background to indicate transparency.
88
+ * @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
89
+ */
86
90
  .wp-block[data-align=left] > [data-type="core/embed"],
87
91
  .wp-block[data-align=right] > [data-type="core/embed"],
88
92
  .wp-block-embed.alignleft,
@@ -83,6 +83,10 @@
83
83
  /**
84
84
  * Reset the WP Admin page styles for Gutenberg-like pages.
85
85
  */
86
+ /**
87
+ * Creates a checkerboard pattern background to indicate transparency.
88
+ * @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
89
+ */
86
90
  .wp-block[data-align=left] > [data-type="core/embed"],
87
91
  .wp-block[data-align=right] > [data-type="core/embed"],
88
92
  .wp-block-embed.alignleft,
@@ -83,6 +83,10 @@
83
83
  /**
84
84
  * Reset the WP Admin page styles for Gutenberg-like pages.
85
85
  */
86
+ /**
87
+ * Creates a checkerboard pattern background to indicate transparency.
88
+ * @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
89
+ */
86
90
  .wp-block-embed :where(figcaption) {
87
91
  color: #555;
88
92
  font-size: 13px;
@@ -83,6 +83,10 @@
83
83
  /**
84
84
  * Reset the WP Admin page styles for Gutenberg-like pages.
85
85
  */
86
+ /**
87
+ * Creates a checkerboard pattern background to indicate transparency.
88
+ * @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
89
+ */
86
90
  .wp-block-embed :where(figcaption) {
87
91
  color: #555;
88
92
  font-size: 13px;
@@ -1,9 +1,3 @@
1
- /**
2
- * Colors
3
- */
4
- /**
5
- * Typography
6
- */
7
1
  /**
8
2
  * SCSS Variables.
9
3
  *
@@ -11,6 +5,9 @@
11
5
  * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
12
6
  * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
13
7
  */
8
+ /**
9
+ * Colors
10
+ */
14
11
  /**
15
12
  * Fonts & basic variables.
16
13
  */
@@ -46,6 +43,9 @@
46
43
  * React Native specific.
47
44
  * These variables do not appear to be used anywhere else.
48
45
  */
46
+ /**
47
+ * Typography
48
+ */
49
49
  /**
50
50
  * Breakpoints & Media Queries
51
51
  */
@@ -83,330 +83,10 @@
83
83
  /**
84
84
  * Reset the WP Admin page styles for Gutenberg-like pages.
85
85
  */
86
- .wp-block-freeform.block-library-rich-text__tinymce {
87
- height: auto; /* Allow height of embed iframes to be calculated properly */
88
- }
89
- .wp-block-freeform.block-library-rich-text__tinymce p,
90
- .wp-block-freeform.block-library-rich-text__tinymce li {
91
- line-height: 1.8;
92
- }
93
- .wp-block-freeform.block-library-rich-text__tinymce ul,
94
- .wp-block-freeform.block-library-rich-text__tinymce ol {
95
- padding-right: 2.5em;
96
- margin-right: 0;
97
- }
98
- .wp-block-freeform.block-library-rich-text__tinymce blockquote {
99
- margin: 0;
100
- box-shadow: inset 0 0 0 0 #ddd;
101
- border-right: 4px solid #000;
102
- padding-right: 1em;
103
- }
104
- .wp-block-freeform.block-library-rich-text__tinymce pre {
105
- white-space: pre-wrap;
106
- font-family: Menlo, Consolas, monaco, monospace;
107
- font-size: 15px;
108
- color: #1e1e1e;
109
- }
110
- .wp-block-freeform.block-library-rich-text__tinymce > *:first-child {
111
- margin-top: 0;
112
- }
113
- .wp-block-freeform.block-library-rich-text__tinymce > *:last-child {
114
- margin-bottom: 0;
115
- }
116
- .wp-block-freeform.block-library-rich-text__tinymce.mce-edit-focus {
117
- outline: none;
118
- }
119
- .wp-block-freeform.block-library-rich-text__tinymce a {
120
- color: var(--wp-admin-theme-color);
121
- }
122
- .wp-block-freeform.block-library-rich-text__tinymce:focus a[data-mce-selected] {
123
- padding: 0 2px;
124
- margin: 0 -2px;
125
- border-radius: 2px;
126
- box-shadow: 0 0 0 1px #e5f5fa;
127
- background: #e5f5fa;
128
- }
129
- .wp-block-freeform.block-library-rich-text__tinymce code {
130
- padding: 2px;
131
- border-radius: 2px;
132
- color: #1e1e1e;
133
- background: #f0f0f0;
134
- font-family: Menlo, Consolas, monaco, monospace;
135
- font-size: 14px;
136
- }
137
- .wp-block-freeform.block-library-rich-text__tinymce:focus code[data-mce-selected] {
138
- background: #ddd;
139
- }
140
- .wp-block-freeform.block-library-rich-text__tinymce .alignright {
141
- float: right;
142
- margin: 0.5em 0 0.5em 1em;
143
- }
144
- .wp-block-freeform.block-library-rich-text__tinymce .alignleft {
145
- float: left;
146
- margin: 0.5em 1em 0.5em 0;
147
- }
148
- .wp-block-freeform.block-library-rich-text__tinymce .aligncenter {
149
- display: block;
150
- margin-right: auto;
151
- margin-left: auto;
152
- }
153
- .wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag {
154
- width: 96%;
155
- height: 20px;
156
- display: block;
157
- margin: 15px auto;
158
- outline: 0;
159
- cursor: default;
160
- background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAADtgAAAAoBAMAAAA86gLBAAAAJFBMVEVMaXG7u7vBwcHDw8POzs68vLzGxsbMzMy+vr7AwMDQ0NDGxsYKLGzpAAAADHRSTlMA///zWf+/f///TMxNVGuqAAABwklEQVR4Ae3dMXLaQBTH4bfj8UCpx8hq0vgKvgFNemhT6Qo6gg6R+0ZahM2QLmyBJ99XWP9V5+o3jIUcLQEAAAAAAAAAAAAAAAAAAAAAAABQ8j0WL9lfTtlt18uNXAUA8O/KVtfa1tdcrOdSh9gCQAMlh1hMNbZZ1bsrsQWABsrhLRbz7z5in/32UbfUMUbkMQCAh5RfGYv82UdMdZ6HS2wjT2ILAI8r3XmM2B3WvM59vfO2xXYW2yYAENuPU8S+X/N67mKxzy225yaxBQCxLV392UdcvwV0jPVUj98ntkBWT7C7+9u2/V/vGtvXIWJ6/4rtbottWa6Ri0NUT/u72LYttrb97LHdvUXMxxrb8TO2W2TF1rYbbLG1bbGNjMi4+2Sbi1FsbbvNFlvbFtt5fDnE3d9sP1/XeIyV2Nr2U2/guZUuptNrH/dPI9eLB6SaAEBs6wPJf3/PNk9tYgsAYrv/8TFuzx/fvkFqGtrEFgDEdpcZUb7ejXy6ntrEFgDENvL6gsas4vbdyKt4DACI7TxElJv/Z7udpqFNbAFAbKduy2uU2trttM/x28UWAAAAAAAAAAAAAAAAAAAAAAAAAADgDyPwGmGTCZp7AAAAAElFTkSuQmCC);
161
- background-size: 1900px 20px;
162
- background-repeat: no-repeat;
163
- background-position: center;
164
- }
165
- .wp-block-freeform.block-library-rich-text__tinymce {
166
- /* Remove blue highlighting of selected images in WebKit */
167
- }
168
- .wp-block-freeform.block-library-rich-text__tinymce img::selection {
169
- background-color: transparent;
170
- }
171
- .wp-block-freeform.block-library-rich-text__tinymce div.mceTemp {
172
- -ms-user-select: element;
173
- }
174
- .wp-block-freeform.block-library-rich-text__tinymce {
175
- /* Image captions */
176
- }
177
- .wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption {
178
- margin: 0; /* dl browser reset */
179
- max-width: 100%;
180
- }
181
- .wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption a,
182
- .wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption img {
183
- display: block;
184
- }
185
- .wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption, .wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption * {
186
- -webkit-user-drag: none;
187
- }
188
- .wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption .wp-caption-dd {
189
- padding-top: 0.5em;
190
- margin: 0; /* browser dd reset */
191
- }
192
- .wp-block-freeform.block-library-rich-text__tinymce {
193
- /* WP Views */
194
- }
195
- .wp-block-freeform.block-library-rich-text__tinymce .wpview {
196
- width: 99.99%; /* All IE need hasLayout, incl. 11 (ugh, not again!!) */
197
- position: relative;
198
- clear: both;
199
- margin-bottom: 16px;
200
- border: 1px solid transparent;
201
- }
202
- .wp-block-freeform.block-library-rich-text__tinymce .wpview iframe {
203
- display: block;
204
- max-width: 100%;
205
- background: transparent;
206
- }
207
- .wp-block-freeform.block-library-rich-text__tinymce .wpview .mce-shim {
208
- position: absolute;
209
- top: 0;
210
- left: 0;
211
- bottom: 0;
212
- right: 0;
213
- }
214
- .wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected="2"] .mce-shim {
215
- display: none;
216
- }
217
- .wp-block-freeform.block-library-rich-text__tinymce .wpview .loading-placeholder {
218
- border: 1px dashed #ddd;
219
- padding: 10px;
220
- }
221
- .wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error {
222
- border: 1px solid #ddd;
223
- padding: 1em 0;
224
- margin: 0;
225
- word-wrap: break-word;
226
- }
227
- .wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error p {
228
- margin: 0;
229
- text-align: center;
230
- }
231
- .wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .loading-placeholder, .wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .wpview-error {
232
- border-color: transparent;
233
- }
234
- .wp-block-freeform.block-library-rich-text__tinymce .wpview .dashicons {
235
- display: block;
236
- margin: 0 auto;
237
- width: 32px;
238
- height: 32px;
239
- font-size: 32px;
240
- }
241
- .wp-block-freeform.block-library-rich-text__tinymce .wpview.wpview-type-gallery::after {
242
- content: "";
243
- display: table;
244
- clear: both;
245
- }
246
- .wp-block-freeform.block-library-rich-text__tinymce .gallery img[data-mce-selected]:focus {
247
- outline: none;
248
- }
249
- .wp-block-freeform.block-library-rich-text__tinymce .gallery a {
250
- cursor: default;
251
- }
252
- .wp-block-freeform.block-library-rich-text__tinymce .gallery {
253
- margin: auto -6px;
254
- padding: 6px 0;
255
- line-height: 1;
256
- overflow-x: hidden;
257
- }
258
- .wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-item {
259
- float: right;
260
- margin: 0;
261
- text-align: center;
262
- padding: 6px;
263
- box-sizing: border-box;
264
- }
265
- .wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption,
266
- .wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-icon {
267
- margin: 0;
268
- }
269
- .wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption {
270
- font-size: 13px;
271
- margin: 4px 0;
272
- }
273
- .wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-1 .gallery-item {
274
- width: 100%;
275
- }
276
- .wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-2 .gallery-item {
277
- width: 50%;
278
- }
279
- .wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-3 .gallery-item {
280
- width: 33.3333333333%;
281
- }
282
- .wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-4 .gallery-item {
283
- width: 25%;
284
- }
285
- .wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-5 .gallery-item {
286
- width: 20%;
287
- }
288
- .wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-6 .gallery-item {
289
- width: 16.6666666667%;
290
- }
291
- .wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-7 .gallery-item {
292
- width: 14.2857142857%;
293
- }
294
- .wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-8 .gallery-item {
295
- width: 12.5%;
296
- }
297
- .wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-9 .gallery-item {
298
- width: 11.1111111111%;
299
- }
300
- .wp-block-freeform.block-library-rich-text__tinymce .gallery img {
301
- max-width: 100%;
302
- height: auto;
303
- border: none;
304
- padding: 0;
305
- }
306
-
307
- div[data-type="core/freeform"]::before {
308
- border: 1px solid #ddd;
309
- outline: 1px solid transparent;
310
- }
311
- @media not (prefers-reduced-motion) {
312
- div[data-type="core/freeform"]::before {
313
- transition: border-color 0.1s linear, box-shadow 0.1s linear;
314
- }
315
- }
316
- div[data-type="core/freeform"].is-selected::before {
317
- border-color: #1e1e1e;
318
- }
319
- div[data-type="core/freeform"] .block-editor-block-contextual-toolbar + div {
320
- margin-top: 0;
321
- padding-top: 0;
322
- }
323
- div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce::after {
324
- content: "";
325
- display: table;
326
- clear: both;
327
- }
328
-
329
- .mce-toolbar-grp .mce-btn.mce-active button,
330
- .mce-toolbar-grp .mce-btn.mce-active:hover button,
331
- .mce-toolbar-grp .mce-btn.mce-active i,
332
- .mce-toolbar-grp .mce-btn.mce-active:hover i {
333
- color: #1e1e1e;
334
- }
335
- .mce-toolbar-grp .mce-rtl .mce-flow-layout-item.mce-last {
336
- margin-left: 0;
337
- margin-right: 8px;
338
- }
339
- .mce-toolbar-grp .mce-btn i {
340
- font-style: normal;
341
- }
342
-
343
- .block-library-classic__toolbar {
344
- display: none;
345
- width: auto;
346
- margin: 0;
347
- position: sticky;
348
- z-index: 31;
349
- top: 0;
350
- border: 1px solid #ddd;
351
- border-bottom: none;
352
- border-radius: 2px;
353
- margin-bottom: 8px;
354
- padding: 0;
355
- }
356
- div[data-type="core/freeform"].is-selected .block-library-classic__toolbar {
357
- display: block;
358
- border-color: #1e1e1e;
359
- }
360
- .block-library-classic__toolbar .mce-tinymce {
361
- box-shadow: none;
362
- }
363
- @media (min-width: 600px) {
364
- .block-library-classic__toolbar {
365
- padding: 0;
366
- }
367
- }
368
- .block-library-classic__toolbar:empty {
369
- display: block;
370
- background: #f5f5f5;
371
- border-bottom: 1px solid #e2e4e7;
372
- }
373
- .block-library-classic__toolbar:empty::before {
374
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
375
- font-size: 13px;
376
- content: attr(data-placeholder);
377
- color: #555d66;
378
- line-height: 37px;
379
- padding: 14px;
380
- }
381
- .block-library-classic__toolbar div.mce-toolbar-grp {
382
- border-bottom: 1px solid #1e1e1e;
383
- }
384
- .block-library-classic__toolbar .mce-tinymce-inline,
385
- .block-library-classic__toolbar .mce-tinymce-inline > div,
386
- .block-library-classic__toolbar div.mce-toolbar-grp,
387
- .block-library-classic__toolbar div.mce-toolbar-grp > div,
388
- .block-library-classic__toolbar .mce-menubar,
389
- .block-library-classic__toolbar .mce-menubar > div {
390
- height: auto !important;
391
- width: 100% !important;
392
- }
393
- .block-library-classic__toolbar .mce-container-body.mce-abs-layout {
394
- overflow: visible;
395
- }
396
- .block-library-classic__toolbar .mce-menubar,
397
- .block-library-classic__toolbar div.mce-toolbar-grp {
398
- position: static;
399
- }
400
- .block-library-classic__toolbar .mce-toolbar-grp > div {
401
- padding: 1px 3px;
402
- }
403
- .block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child) {
404
- display: none;
405
- }
406
- .block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar {
407
- display: block;
408
- }
409
-
86
+ /**
87
+ * Creates a checkerboard pattern background to indicate transparency.
88
+ * @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
89
+ */
410
90
  .block-editor-freeform-modal .block-editor-freeform-modal__content .mce-edit-area iframe {
411
91
  height: 50vh !important;
412
92
  }