Width of TinyMCE-editor
Width of TinyMCE-editor
Just trying out some new templates and I notice, that the width of Tinymce is not fixed, not even in the supplied templates.
If you make Tinymce wider oder narrower, it will stay that way even when you are changing templates (can be seen nicely in the demo).
Tinymce somewho retains the width, it seems this is stored in some php cache???
So once the webmaster inadvertently changes the width, the Wysywig gets corrupted.
Hm. is this a feature or a bug?
CKeditor doesn't have it, here the editor retains the correct width.
If you make Tinymce wider oder narrower, it will stay that way even when you are changing templates (can be seen nicely in the demo).
Tinymce somewho retains the width, it seems this is stored in some php cache???
So once the webmaster inadvertently changes the width, the Wysywig gets corrupted.
Hm. is this a feature or a bug?
CKeditor doesn't have it, here the editor retains the correct width.
Re: Width of TinyMCE-editor
Hi Svasti, happy new year!
There is a cookie TinyMCE_text_size holding the value, which is only set when changing the width by dragging..
IMHO it's a feature. Non touched it takes the width provided, see the responsiveHTML template. If touched it stays (the width) session life time. Log out and in again and it's resetted.
There is a cookie TinyMCE_text_size holding the value, which is only set when changing the width by dragging..
IMHO it's a feature. Non touched it takes the width provided, see the responsiveHTML template. If touched it stays (the width) session life time. Log out and in again and it's resetted.
Re: Width of TinyMCE-editor
There is a bunch of theme_advanced_resizing properties where these can be set (therefore in the editor ini files).
Re: Width of TinyMCE-editor
Yeah, happy new year Manu!
And thanx. I wondered if I'd made a mistake in the templates, but so it seems it is just as it should be.
And thanx. I wondered if I'd made a mistake in the templates, but so it seems it is just as it should be.
Re: Width of TinyMCE-editor
Never noticed that before -- good to know.manu wrote:There is a cookie TinyMCE_text_size holding the value, which is only set when changing the width by dragging..
Christoph M. Becker – Plugins for CMSimple_XH
Re: Width of TinyMCE-editor
I tried with Chrome and Firefox and IE and it was not resetted. So I checked the cookies in Firefox and found:manu wrote:If touched it stays (the width) session life time. Log out and in again and it's resetted.
- TinyMCE_text_size, valid till end of session
- PHPSESSID, valid till end of session
Re: Width of TinyMCE-editor
A browser session usually only ends, when the browser is closed. Anyhow, the browser doesn't know anything about a server side session, and both concepts are not really related.svasti wrote:However the session was long over. It seems, the browser doesn't get to know when the session is ending. So only the next day TinyMCE will be resized.
Christoph M. Becker – Plugins for CMSimple_XH
Re: Width of TinyMCE-editor
Wow, now I've learned something.
That's not the case if one doesn't shut down the browser.manu wrote:Log out and in again and it's resetted.
Yeah, now the cookie is gone and the width is again normal.cmb wrote:A browser session usually only ends, when the browser is closed.
Re: Width of TinyMCE-editor
You are right, the browser has to be closed.svasti wrote:That's not the case if one doesn't shut down the browser.manu wrote:Log out and in again and it's resetted.
Re: Width of TinyMCE-editor
.............................................manu wrote:You are right, the browser has to be closed.svasti wrote:That's not the case if one doesn't shut down the browser.manu wrote:Log out and in again and it's resetted.
There is another disadvantage of tinymce. It has no preview mode - ckeditor 4 has a plugin for that.
After switching from editormode to preview one looses the editorposition.
A help wold be a button which opens the edited text in the preview mode in a new target-window