tristanleboss
Forum Replies Created
-
Forum: Plugins
In reply to: [Tabify Edit Screen] Main editor layout issueIf you want to temporary solve the problem, uncheck
Enable full-height editor and distraction-free functionality.
in theScreen Options
.The
editor-expand.js
is the file which drive this new functionality.Forum: Plugins
In reply to: [Tabify Edit Screen] Main editor layout issueHello Marko,
I don’t know if it may help you but I found the cause of the problem.
When you toggle a box, a
postbox-toggled
event is fired. This event is then catched by an event handler which is declared in filewp-admin/js/editor-expand.js
at line640
.// Adjust when collapsing the menu, changing the columns, changing the body class. $document.on( 'wp-collapse-menu.editor-expand postboxes-columnchange.editor-expand editor-classchange.editor-expand', adjust ) .on( 'postbox-toggled.editor-expand', function() { if ( ! fixedSideTop && ! fixedSideBottom && window.pageYOffset > pinnedToolsTop ) { fixedSideBottom = true; window.scrollBy( 0, -1 ); adjust(); window.scrollBy( 0, 1 ); } adjust(); }).on( 'wp-window-resized.editor-expand', function() { if ( mceEditor && ! mceEditor.isHidden() ) { mceEditor.execCommand( 'wpAutoResize' ); } else { textEditorResize(); } });
This code adjusts the editor width and, because it’s set to
display: none
, it set thewidth
to0px
on thediv#wp-content-editor-tools
… which breaks the editor. I think the logic which resize the editor is in thetextEditorResize
function which is called by theadjust
function called by the previous piece of code.Maybe firing this
postbox-toggled
event when the tab with the editor is activated may solve the problem?jQuery(document).trigger('postbox-toggled')
Simply resizing the window also repair the editor… so there is probably another event which may trigger the resizing of the editor
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Problem with PublicizeOk, thank you, I understand the problem. I will try to share all connections and come back to update this post.
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Problem with PublicizeThanks for your fast reply.
No, they are not shared. (I was not aware that Publicize settings were per user unless stated.) But, the last posts that failed to be shared were made under the user account (admin) where all the Publicize settings have been set in the first place.
Forum: Plugins
In reply to: [WooCommerce Cart Tab] WPML compatibility?I don’t think this plugin is WPML compatible. At least, on my website, the product links are the wrong ones (they are always the English ones…).