Can I make the Tiny MCE toolbar sticky. My client is working on very long articles and would prefer if the toolbar for TinyMCE does not scroll off the screen. It's inconvient to have to scroll all the way to the top of articles to find the toolbar.
I just realized that what is happening is that with TinyMCE, by default the size of the editor screen increases as the text grows longer. If the height of the text exceeds the size of the screen, the toolbar scrolls of the screen.
The default behavior that my client is used to with CKEditor is that the size of the body field is fixed but expandable (1). As long as the user does not increase the size of the body field, the toolbar will remain visible and the writer will scroll up and down through their text within that area (2).
This auto grow behavior in TinyMCE is easily turned off, reflecting the behavior my client is used to CKEditor (screenshot is of TinyMCE using the expected behavior learned from CKEditor). I think the client will be fine with this.
We will turn off the "Autoresize" option in the TinyMCE profile.
Have you tried uc_cart_add_item()? You need to provide the nid of the product. Then you can use backdrop_goto('cart/checkout'); to send the user to the checkout screen. uc_cart_add_item...
Posted1 day 20 hours ago by Alejandro Cremaschi (argiepiano) on:
No problem, let's see how it evolves.
I'd be happy to provide a suggested version if i could.
I will keep that in mind and try learn this hook chain hopefully very soon. I will...
Posted3 days 7 hours ago by RS Snyder (theflightrs) on:
I could request hashing support, but that's the lazy way
🤣
I would appreciate it if you as an active maintainer would 'officially' add a hashing support...
Hi, i understand the updating obstacle - not worth mentioning - hence it is a wacky (but working) patch until i know what to do. :-)
One of my biggest wishes is to understand the hook...
Posted3 days 7 hours ago by RS Snyder (theflightrs) on:
Comments
What a coincidence, I opened the same question as an issue earlier today, https://github.com/backdrop-contrib/tinymce/issues/177
I just realized that what is happening is that with TinyMCE, by default the size of the editor screen increases as the text grows longer. If the height of the text exceeds the size of the screen, the toolbar scrolls of the screen.
The default behavior that my client is used to with CKEditor is that the size of the body field is fixed but expandable (1). As long as the user does not increase the size of the body field, the toolbar will remain visible and the writer will scroll up and down through their text within that area (2).
This auto grow behavior in TinyMCE is easily turned off, reflecting the behavior my client is used to CKEditor (screenshot is of TinyMCE using the expected behavior learned from CKEditor). I think the client will be fine with this.
We will turn off the "Autoresize" option in the TinyMCE profile.
If you make the editor window full screen (it looks like you have the button) then this is best for long text.