tiny-editor icon indicating copy to clipboard operation
tiny-editor copied to clipboard

🐛 [Bug]: UMi 3.x项目安装该插件页面报错

Open china-dywade opened this issue 4 months ago • 1 comments

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); 页面报错

china-dywade avatar Aug 01 '25 06:08 china-dywade

@china-dywade Webpack配置下 transpileDependencies: ['quill']

kagol avatar Aug 02 '25 01:08 kagol