opentiny / opentiny/tiny-editor
🐛 [Bug]: UMi 3.x项目安装该插件页面报错
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 535
- Forks
- 71
- Avg merge
- 6h 50m
- Merged PRs (30d)
- 2
Description
Version
页面报错
Link to minimal reproduction
/root/workspace/3.1.0-dev/4.0.0-dev/cmp-ui/node_modules/@opentiny/fluent-editor/node_modules/quill/themes/bubble.js 13:18
Module parse failed: Unexpected token (13:18)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| }, 'blockquote']];
| class BubbleTooltip extends BaseTooltip {
static TEMPLATE = ['', '
', '', '', ''].join('');
| constructor(quill, bounds) {
| super(quill, bounds);
页面报错
Step to reproduce
/root/workspace/3.1.0-dev/4.0.0-dev/cmp-ui/node_modules/@opentiny/fluent-editor/node_modules/quill/themes/bubble.js 13:18
Module parse failed: Unexpected token (13:18)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| }, 'blockquote']];
| class BubbleTooltip extends BaseTooltip {
static TEMPLATE = ['', '
', '', '', ''].join('');
| constructor(quill, bounds) {
| super(quill, bounds);
页面报错
What is expected
No response
What is actually happening
No response
What is your project name
wade
Any additional comments (optional)
/root/workspace/3.1.0-dev/4.0.0-dev/cmp-ui/node_modules/@opentiny/fluent-editor/node_modules/quill/themes/bubble.js 13:18
Module parse failed: Unexpected token (13:18)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| }, 'blockquote']];
| class BubbleTooltip extends BaseTooltip {
static TEMPLATE = ['', '
', '', '', ''].join('');
| constructor(quill, bounds) {
| super(quill, bounds);
页面报错
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the installation failure using the reported path under @opentiny/fluent-editor/node_modules/quill/themes/bubble.js and the UMi project setup. Start by tracing how the UMi/Webpack build processes this dependency and the reported static class field syntax. Done means the plugin installs and the page builds without the module parse error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, webpack
- Domain
- build-system, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100