@lvce-editor/renderer-process 24.0.0 → 24.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.
@@ -130,15 +130,15 @@ const get$a = id => {
130
130
  return state$9.styleSheets[id];
131
131
  };
132
132
 
133
- const addCssStyleSheet = async (id, text) => {
133
+ const addCssStyleSheet = (id, text) => {
134
134
  const existing = get$a(id);
135
135
  if (existing) {
136
- await existing.replace(text);
136
+ existing.replaceSync(text);
137
137
  return;
138
138
  }
139
139
  const sheet = new CSSStyleSheet({});
140
140
  set$9(id, sheet);
141
- await sheet.replace(text);
141
+ sheet.replaceSync(text);
142
142
  document.adoptedStyleSheets.push(sheet);
143
143
  };
144
144
  const getSelectionText = () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/renderer-process",
3
- "version": "24.0.0",
3
+ "version": "24.1.0",
4
4
  "keywords": [
5
5
  "lvce-editor",
6
6
  "renderer-process"