Skip to content

How to set focus on ckeditor #100

Open
@ctwhome

Description

@ctwhome

Hi, I am not able to set focus on the CKEditor after mounting, do you know how to do it?

<template>
  <vue-ckeditor
    v-model="htmlContent"
    type="classic"
    ref="editor"
  />
</template>

mounted() {
    this.$nextTick(() => this.$refs.editor.focus())
  },

Thanks!

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions