fixed width and height for the editor and contents inserted by users

Added by Alessandro Cattaneo 4 months ago

Hi everyone,

I'm new of the elRTE and I think that it is a great tool!
I'm creating an interface for insert html content in some pages by the users and I need that the max width and height of what inserted are fixed by default.
For doing so, I was thinking of put a limit on the width and height of the editor textarea where the user write, but I've noticed that there are no options about it. Also, I've tried to limit it by adding some css rules but the editor allow to go out of the bound also if the textarea is fixed.
Is there a way to achive what I'm looking for?

Thank you anyway

Alessandro


Replies (4)

RE: fixed width and height for the editor and contents inserted by users - Added by Troex Nevelin 4 months ago

width and height options in Docs_EN available, you cannot set maximum size only fixed by this time

RE: fixed width and height for the editor and contents inserted by users - Added by Alessandro Cattaneo 4 months ago

so there is no way to force the users to not write content that exceeds the editor dimensions?

Alessandro

RE: fixed width and height for the editor and contents inserted by users - Added by Troex Nevelin 4 months ago

No, not in near future. The only thing you can do it to bind the submit function and check if field not exceeds needed size

(1-4/4)