Skip Navigation

[Resolved] WYSIWYG(所见即所得)editor的高度是否可以自动根据内容变化?

This thread is resolved. Here is a description of the problem and solution.

Problem:

Increase custom WYSIWYG field height automatically.

Solution:

There isn't such kind of built-in feature within Toolset plugins, you might consider custom codes, for example:

https://wordpress.stackexchange.com/questions/72626/tinymce-autoresize

Relevant Documentation:

This support ticket is created 3 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 2 replies, has 2 voices.

Last updated by ben 3 years, 11 months ago.

Assisted by: Luo Yang.

Author
Posts
#1955243

ben

你好 Lou Yang, WP的默认post中的文字输入框是可以根据内容变多而变长的。但是toolset的WYSIWYG(所见即所得)editor的高度需要我手动来拉长。

我想问问有没有什么办法让toolset的WYSIWYG(所见即所得)editor也可以自动变长?

谢谢
Ben

#1955653

你好,

非常遗憾,没有你说的这个功能。
Toolset 的WYSIWYG(所见即所得)字段跟WP经典编辑器基本相同,
WYSIWYG(所见即所得)editor 默认高度为246px(桌面电脑端)。

你可能需要考虑自己写个插件来实现这种功能,参考下面的链接:
https://wordpress.stackexchange.com/questions/72626/tinymce-autoresize

#1963471

ben

My issue is resolved now. Thank you!