codex-team / editor.js

A block-style editor with clean JSON output
https://editorjs.io
Apache License 2.0
28.42k stars 2.07k forks source link

[Bug] v2.23.2 example-dev.html table bundle.js error #2080

Closed zhongzhi107 closed 2 years ago

zhongzhi107 commented 2 years ago

When we browse the example-dev.html, an error will appear:

On version 2.23.2 when we browser example-dev.html with the following error:

GET file:///yourpaths/editor.js/example/tools/table/dist/bundle.js net::ERR_FILE_NOT_FOUND

example-dev.html:205 Uncaught ReferenceError: Table is not defined at example-dev.html:205:18

Steps to reproduce:

  1. pull tools and build the project.
    
    yarn pull_tools && yarn tools:update

yarn _tools:yarn

yarn _tools:build

yarn build



2. Open the page `example/example-dev.html` in Chrome

Expected behavior:
No javascript error

Screenshots:
<img width="927" alt="image" src="https://user-images.githubusercontent.com/4132914/173486583-10dcfeb8-331e-4716-bbee-44004afe3208.png">

Device, Browser, OS:
Chrome Version 102.0.5005.115

Editor.js version:
2.23.2

Plugins you use with their versions:
None
<!--
🤫 If you like Editor.js, please consider supporting us via OpenCollective:
https://opencollective.com/editorjs
-->
zhongzhi107 commented 2 years ago

Fixed