We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
i am trying to add Alignment plugins of ckeditor 5 in my nuxt app which is universal (SSR)
i tried like this in plugins
import Vue from 'vue' import ClassicEditor from '@ckeditor/ckeditor5-build-classic' import VueCkeditor from 'vue-ckeditor5' // import Alignment from '@ckeditor/ckeditor5-alignment/src/alignment'; <-- not working const options = { editors: { classic: ClassicEditor, }, name: 'ckeditor' } Vue.use(VueCkeditor.plugin, options);
i also tried direct import to page like this
import Alignment from '@ckeditor/ckeditor5-alignment/src/alignment';
getting error
Unexpected identifier
Normal editorConfig is working fine
editorConfig: { image: { toolbar: ['imageTextAlternative', '|', 'imageStyle:alignLeft', 'imageStyle:full', 'imageStyle:alignRight'], styles: [ 'full', 'alignLeft', 'alignRight' ] }, alignment: { options: [ 'left', 'right' ] }, toolbar: { items: [ 'heading', 'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'blockQuote', 'insertTable', 'imageUpload', 'mediaEmbed', 'alignment' ] } },
The text was updated successfully, but these errors were encountered:
Hello, you have to prepare a custom build with alignment plugin. Please, take a look at our installing plugins guide.
Sorry, something went wrong.
i didn't try custom build i am using normal vue ckeditor
I understand, but at first, you have to create a custom build with alignment plugin enabled, then import it to your Vue application.
@Mgsy it means i can use external plugins only in custom build ckeditor
No branches or pull requests
i am trying to add Alignment plugins of ckeditor 5 in my nuxt app which is universal (SSR)
i tried like this in plugins
i also tried direct import to page like this
import Alignment from '@ckeditor/ckeditor5-alignment/src/alignment';
getting error
Normal editorConfig is working fine
The text was updated successfully, but these errors were encountered: