@37signals/lexxy 0.9.9-beta.preview4 → 0.9.9-beta.preview6

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.
@@ -114,7 +114,7 @@ function highlightElement(preElement) {
114
114
  applyHighlightRanges(codeElement, highlights);
115
115
  }
116
116
 
117
- preElement.replaceWith(codeElement);
117
+ preElement.replaceChildren(codeElement);
118
118
  }
119
119
 
120
120
  // Walk the DOM tree inside a <pre> element and build a list of
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@37signals/lexxy",
3
- "version": "0.9.9-beta.preview4",
3
+ "version": "0.9.9-beta.preview6",
4
4
  "description": "Lexxy - A modern rich text editor for Rails.",
5
5
  "module": "dist/lexxy.esm.js",
6
6
  "type": "module",