fixes #4893
Merge pull request #5073 from dotCMS/issue-4893-need-resize-text-editor-window

fixes #4893