0
私はいくつかのHTMLリッチテキストエディタを作ろうとしています。私はすでにCKEditorバージョンのドキュメントに似バウアーからCKEditorバージョンをインストールしている:、CKeditor Bowerとの使い方
{
"name": "my-project",
"dependencies": {
"ckeditor": "4"
}
}
しかし、私はインストールし、通常からそれを使用する方法を示す例がある文書で、それを使用する方法を知りませんが、 Bowerからではありません:
<!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="../ckeditor.js"></script>
</head>
<body>
<form>
<textarea name="editor1" id="editor1" rows="10" cols="80">
This is my textarea to be replaced with CKEditor.
</textarea>
<script>
// Replace the <textarea id="editor1"> with a CKEditor
// instance, using default configuration.
CKEDITOR.replace('editor1');
</script>
</form>
</body>
</html>
私のプロジェクトでこのckeditor.jsを使用せずに使用する方法を教えてください。
を、この