Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue with using ui-editor #167

Closed
HDShabe opened this issue May 31, 2023 · 2 comments
Closed

issue with using ui-editor #167

HDShabe opened this issue May 31, 2023 · 2 comments

Comments

@HDShabe
Copy link

HDShabe commented May 31, 2023

BalmUI Version 10.19.0

Hi,

I'm having some trouble using the ui-editor component. I have other BalmUI Plus components working such as ui-skeleton, but for reference here's my setup:

main.ts

import { createApp } from 'vue';
import App from './App.vue';
import validatorRules from './scripts/validation';


//BalmUI Google Material
import BalmUI from 'balm-ui';
import BalmUIPlus from 'balm-ui/dist/balm-ui-plus'; // BalmJS Team Material Components
import 'balm-ui-css';

const app = createApp(App);

//set default UI Themes
app.use(BalmUI, {
    $validator: validatorRules
});
app.use(BalmUIPlus);

app.mount('#app');

in a page:

<div class="row">
    <ui-editor v-model="viewModel.description" theme="bubble"></ui-editor>
</div>

However i'm seeing the following in console:

balm-ui-plus.js:1 quill Cannot import modules/emoji. Are you sure it was registered?
balm-ui-plus.js:1 quill Cannot load emoji module. Are you sure you registered it?
balm-ui-plus.js:1 quill Cannot import modules/emoji. Are you sure it was registered?

balm-ui-plus.js:1 Uncaught (in promise) TypeError: e4 is not a constructor
at e4.value (balm-ui-plus.js:1:109468)
at e4.value (balm-ui-plus.js:1:122022)
at balm-ui-plus.js:1:109342
at Array.forEach ()
at e4.value (balm-ui-plus.js:1:109299)
at new t4 (balm-ui-plus.js:1:19523)
at balm-ui-plus.js:1:236576
at balm-ui-plus.js:1:236810

Any ideas at all?
Cheers.

@elf-mouse
Copy link
Member

@HDShabe , the bug has been fixed in new version. Thanks a lot.

@HDShabe
Copy link
Author

HDShabe commented Jun 2, 2023

Thanks, that looks good!

@HDShabe HDShabe closed this as completed Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants