What are the configuration parameters and properties of KindEditor editor?
There are many configuration parameters and properties for the KindEditor editor, here are some common ones:
- theme: Select the theme style for the editor, which includes options such as “default,” “simple,” and “custom.”
- width: determines the width of the editor.
- height: adjust the height of the editor.
- Language Type: Specify the language type of the editor, such as “zh-CN” or “en”.
- uploadJson: Specify the server-side processing file address for uploaded files.
- fileManagerJson: Specify the server-side address for handling files in the file manager.
- allowFileManager: Specify whether to enable the use of file manager.
- Options for configuring the editor’s toolbar buttons include “source”, “preview”, “fullscreen”, and others.
- newlineTag: This sets the line break tags, including “br” and “p”, etc.
- pasteType: specifies how to handle pasted content, including options such as “plain,” “word,” and “html.”
- filterMode: This option determines the filtering mode for the content, including “none,” “html,” and “safe.”
- htmlTags: Establishes the list of HTML tags permitted.
- uploadImageExt: Specify the file extensions allowed for image uploads.
- uploadFlashExt: Set the allowed file extensions for uploading Flash files.
- uploadMediaExt: Specify the permitted file extensions for media uploads.
These are just some common configuration parameters; in fact, KindEditor has many other configuration options that can be customized according to specific needs.