ahmedkaludi / wp-multilang

14 stars 2 forks source link

Deferred loading of language switcher in Gutenberg editor #50

Closed g4rf closed 3 months ago

g4rf commented 3 months ago

As in issue #14 described, the language switcher isn't always loaded due to a race condition. This PR solves the problem with a deferred loading. In addition it corrects some CSS overflow problems, that may be connected with the deferred loading.

g4rf commented 3 months ago

I just saw, that you're not editing the SASS files (*.scss), but directly writing into the css files. I will open another pull request, that merge the admin.css changes into the admin.scss file.

Please use the scss files or delete them. For now it's hard to collaborate when this is not clear.