Skip to content

Commit

Permalink
Adjust demo.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mati365 committed Nov 28, 2024
1 parent 0f2fc07 commit ee87969
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions demos/editor-cdn/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
</template>

<script setup lang="ts">
import { ref, reactive, computed, effect } from 'vue';
import { ref, reactive, computed } from 'vue';
import useCKEditorCloud from '../../src/useCKEditorCloud.js';
import type { EventInfo, ClassicEditor } from 'https://cdn.ckeditor.com/typings/ckeditor5.d.ts';
Expand All @@ -46,12 +46,6 @@ const cloud = useCKEditorCloud( {
version: '43.0.0'
} );
effect( () => {
if ( cloud.error.value ) {
console.error( cloud.error.value );
}
} );
const TestEditor = computed<typeof ClassicEditor | null>( () => {
if ( !cloud.data.value ) {
return null;
Expand Down

0 comments on commit ee87969

Please sign in to comment.