@lvce-editor/output-view 2.11.0 → 2.12.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.
@@ -2185,12 +2185,13 @@ const getErrorDom = (errorCode, error) => {
2185
2185
  return [errorNode, text(error)];
2186
2186
  };
2187
2187
 
2188
+ const outputNode = {
2189
+ childCount: 1,
2190
+ className: mergeClassNames(Viewlet, Output$1),
2191
+ type: Div
2192
+ };
2188
2193
  const getOutputVirtualDom = (lines, errorCode, error) => {
2189
- return [{
2190
- childCount: 1,
2191
- className: mergeClassNames(Viewlet, Output$1),
2192
- type: Div
2193
- }, ...getContentDom(lines, error), ...getErrorDom(errorCode, error)];
2194
+ return [outputNode, ...getContentDom(lines, error), ...getErrorDom(errorCode, error)];
2194
2195
  };
2195
2196
 
2196
2197
  const renderItems = (oldState, newState) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/output-view",
3
- "version": "2.11.0",
3
+ "version": "2.12.0",
4
4
  "description": "Output View Worker",
5
5
  "repository": {
6
6
  "type": "git",