1. Home
  2. Docs
  3. TinyMCEv5
  4. init初始化
  5. resize, min_width

resize, min_width

資料來源:
https://www.tiny.cloud/docs/configure/editor-appearance/

[code]
tinymce.init({
selector: ‘textarea’, // change this value according to your HTML
resize: false
});
[/code]
[code]
tinymce.init({
selector: ‘textarea’, // change this value according to your HTML
resize: ‘both’
});
[/code]
[code]
tinymce.init({
selector: ‘textarea’, // change this value according to your HTML
min_width: 400
});
[/code]
[code]
tinymce.init({
selector: ‘textarea’, // change this value according to your HTML
max_width: 500
});
[/code]