You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**autoDownloadFontAwesome**: If set to `true`, force downloads Font Awesome (used for icons). If set to `false`, prevents downloading. Defaults to `undefined`, which will intelligently check whether Font Awesome has already been included, then download accordingly.
4
4
-**autofocus**: If set to `true`, autofocuses the editor. Defaults to `false`.
-**autoDownloadFontAwesome**: 如果设置为 `true`, force downloads Font Awesome (used for icons). If set to `false`, prevents downloading. Defaults to `undefined`, which will intelligently check whether Font Awesome has already been included, then download accordingly.
4
4
-**autofocus**: If set to `true`, autofocuses the editor. Defaults to `false`.
@@ -42,7 +42,7 @@
42
42
-**toolbarTips**: If set to `false`, disable toolbar button tips. Defaults to `true`.
43
43
44
44
```JavaScript
45
-
//Most options demonstrate the non-default behavior
45
+
//以下大多数选项为非默认行为
46
46
exportdefault {
47
47
data () {
48
48
return {
@@ -76,14 +76,13 @@ export default {
76
76
},
77
77
placeholder:'Type here...',
78
78
previewRender:function(plainText) {
79
-
returncustomMarkdownParser(plainText) //Returns HTML from a custom parser
Below are the built-in toolbar icons (only some of which are enabled by default), which can be reorganized however you like. 'Name' is the name of the icon, referenced in the JS. 'Action' is either a function or a URL to open. 'Class' is the class given to the icon. 'Tooltip' is the small tooltip that appears via the `title='` attribute. Note that shortcut hints are added automatically and reflect the specified action if it has a keybind assigned to it (i.e. with the value of `action` set to `bold` and that of `tooltip` set to `Bold`, the final text the user will see would be 'Bold (Ctrl-B)').
0 commit comments