max_height affects manual resizing when autoresize is ON
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 16.3k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
What is the current behavior?
When autoresize is ON, max_height option sets the maximum height the editor can automatically expand to, and also blocks manual resizing above specified value
Please provide the steps to reproduce.
tinymce.init({
selector: '#mce',
plugins: 'autoresize',
min_height: 150,
max_height: 500,
resize: true,
});
What is the expected behavior?
Without the autoresize plugin,
max_heightallows you to set the maximum height that a user can stretch the entire TinyMCE interface
With the autoresize plugin,
max_heightsets the maximum height the editor can automatically expand to.
But it shouldn't affect manual resizing ifresizeis set totrue.
Which versions of TinyMCE, and which browser / OS are affected by this issue? Did this work in previous versions of TinyMCE?
This issue happens in v5.x.x
In previous versions autoresize_max_height was working correctly.
Basing on migration docs the autoresize_max_height was replaced with max_height in v5.x.x
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the autoresize plugin and the max_height/resize option handling described in the reproduction, then compare it with the migration documentation's autoresize_max_height behavior. Confirm that manual resizing can exceed max_height while automatic expansion remains capped, using the provided TinyMCE initialization as the regression case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100