@vonaffenfels/slate-editor 1.2.12 → 1.2.15
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/BlockEditor.css +2 -2
- package/dist/BlockEditor.js +1 -1
- package/dist/Renderer.js +1 -1
- package/dist/index.css +2 -2
- package/dist/index.js +4 -4
- package/package.json +2 -2
- package/scss/toolbar.scss +1 -0
- package/src/Serializer/ads.js +0 -1
- package/src/Toolbar/Toolbar.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonaffenfels/slate-editor",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.15",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"cssnano": "^5.0.1",
|
|
73
73
|
"escape-html": "^1.0.3"
|
|
74
74
|
},
|
|
75
|
-
"gitHead": "
|
|
75
|
+
"gitHead": "704f3fe096d4f2f05348b49d1b46e1fba1745510",
|
|
76
76
|
"publishConfig": {
|
|
77
77
|
"access": "public"
|
|
78
78
|
}
|
package/scss/toolbar.scss
CHANGED
package/src/Serializer/ads.js
CHANGED
|
@@ -14,7 +14,6 @@ export const addAdsToValue = (value, adDefinitionDesktop = [], adDefinitionMobil
|
|
|
14
14
|
for (let i = 0; i < value.length; i++) {
|
|
15
15
|
const element = value[i];
|
|
16
16
|
const nextElement = value[i + 1] || null;
|
|
17
|
-
console.log("DEBUG ELEMENTS", element);
|
|
18
17
|
const textLength = getElementTextLength(element);
|
|
19
18
|
const isPlaceable = isAdPlaceable(element, counters);
|
|
20
19
|
|
package/src/Toolbar/Toolbar.js
CHANGED
|
@@ -138,7 +138,7 @@ export const Toolbar = ({
|
|
|
138
138
|
})}
|
|
139
139
|
>
|
|
140
140
|
<div className="toolbar-btns">
|
|
141
|
-
<div className="flex grow items-center
|
|
141
|
+
<div className="relative flex grow items-center">
|
|
142
142
|
<div className="flex">
|
|
143
143
|
<FormatButtonBold/>
|
|
144
144
|
<FormatButtonItalic/>
|