我试图在我的vue js应用程序中集成,我已经成功地添加了ckeditor,但是现在我想在ckeditor中的光标位置添加一些文本,单击一个按钮。为了达到这个目的,我尝试了方法。但是,在将代码添加为editor.model.change(...)时,无法在vue中获取编辑器实例。
Uncaught ReferenceError: editor is not defined
代码=>
<template>
<ckeditor
id="custom"
ref="custom"
name="custom
我正在尝试将CKEditor集成到我的角度项目中。我遵循了其他类似的解决方案,但只有文本区域出现。以下是我迄今所做的工作。
HTML
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>A Simple Page with CKEditor</title>
<!-- Make sure the path to CKEditor is correct. -->
<script src="