ckeditor-nuxt icon indicating copy to clipboard operation
ckeditor-nuxt copied to clipboard

get plugincollection-plugin-name-conflict all over the place?

Open andreas-it-dev opened this issue 4 years ago • 4 comments

hi,

trying it out with the exact code from your example i get a bunch of errors in the console:

image

the url presented is https://ckeditor.com/docs/ckeditor5/latest/framework/guides/support/error-codes.html#error-plugincollection-plugin-name-conflict and tells me Two plugins with the same pluginName were loaded but i didnt load any of the plugins..

what did i do wrong?

fwiw, this is my component:

<template>
  <div class="mt-10">
    <v-row class="d-flex flex-column flex-md-row">
      <v-col cols="auto">
...        snip...
      </v-col>
      <v-col cols="6">
        <h1>lessons</h1>
        <client-only placeholder="loading...">
          <ckeditor-nuxt v-model="contentHolder" :config="editorConfig" />
        </client-only>
      </v-col>
    </v-row>
  </div>
</template>

<script>
export default {
  name: 'Lessons',
  components: {
    'ckeditor-nuxt': () => {
      if (process.client) {
        return import('@blowstack/ckeditor-nuxt')
      }
    },
  },
  data: () => ({
    editorConfig: {
      simpleUpload: {
        uploadUrl: 'path_to_image_controller',
        headers: {
          Authorization: 'optional_token',
        },
      },
    },
    contentHolder: '',
  }),
}
</script>

<style scoped></style>

andreas-it-dev avatar Feb 03 '21 09:02 andreas-it-dev

Hi. You are doing everything right. There is an issue with versions >= 0.5.0 Please downgrade your version temporarily to 0.4.0. In the meantime there will be a fix.

blowstack avatar Feb 03 '21 12:02 blowstack

awesome, thanks! that looks way better.

do you happen to have an estimation regarding the fix.. dont feel pressured, its just are we talking weeks or months..?

andreas-it-dev avatar Feb 03 '21 16:02 andreas-it-dev

Yea, I wanna ask as well,when you can fix it... please

thunderwin avatar Mar 13 '21 06:03 thunderwin

Hi,

sorry for keeping you wainting. This is fixed in the newest version.

blowstack avatar Apr 02 '21 17:04 blowstack