@pixelersagency/okno-bridge 1.0.0-beta.1 → 1.0.0-beta.2
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/okno-bridge.js +1 -1
- package/package.json +1 -1
- package/src/index.js +1 -1
package/dist/okno-bridge.js
CHANGED
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
const style = document.createElement( 'style' );
|
|
127
127
|
style.textContent =
|
|
128
128
|
'.' + CLOAK_CLASS + '{opacity:0 !important}' +
|
|
129
|
-
'.' + HOVER_CLASS + '{outline:2px solid #
|
|
129
|
+
'.' + HOVER_CLASS + '{outline:2px solid #86c400 !important;outline-offset:2px;cursor:pointer !important}' +
|
|
130
130
|
'.' + MANAGED_CLASS + '{outline:2px dashed #b7791f !important;outline-offset:2px}';
|
|
131
131
|
document.head.appendChild( style );
|
|
132
132
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pixelersagency/okno-bridge",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.2",
|
|
4
4
|
"description": "Pont postMessage de l'éditeur visuel Okno : rend n'importe quel site (React, Next.js, Remix, Vite, Nuxt, SvelteKit, Astro, HTML) éditable depuis WordPress. Zéro dépendance, inactif hors de l'éditeur.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"wordpress",
|
package/src/index.js
CHANGED
|
@@ -109,7 +109,7 @@ export function initOknoBridge( options ) {
|
|
|
109
109
|
const style = document.createElement( 'style' );
|
|
110
110
|
style.textContent =
|
|
111
111
|
'.' + CLOAK_CLASS + '{opacity:0 !important}' +
|
|
112
|
-
'.' + HOVER_CLASS + '{outline:2px solid #
|
|
112
|
+
'.' + HOVER_CLASS + '{outline:2px solid #86c400 !important;outline-offset:2px;cursor:pointer !important}' +
|
|
113
113
|
'.' + MANAGED_CLASS + '{outline:2px dashed #b7791f !important;outline-offset:2px}';
|
|
114
114
|
document.head.appendChild( style );
|
|
115
115
|
|