Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a suffix option #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

yoavf
Copy link

@yoavf yoavf commented Dec 7, 2017

By default, this plugin would add .rtl to the original filenames.

In various use cases, it might be useful to use other suffixes, like -rtl for example.
This change adds a suffix option, to replace the default .rtl if set (and if the filename option isn't set)

By default, this plugin would add `.rtl` to the filenames
In various use cases, it might be useful to use other suffixes, like `-rtl` for example.
This changes adds a suffix option, to replace the default `.rtl` if set (and if the `filename` option isn't set)
yoavf added a commit to yoavf/gutenberg that referenced this pull request Dec 7, 2017
This currently loads the version from https://github.com/yoavf/webpack-rtl-plugin/tree/develop
This include a simple (but required) change, that's been requested upstream as a PR:
romainberger/webpack-rtl-plugin#15
youknowriad pushed a commit to WordPress/gutenberg that referenced this pull request Dec 7, 2017
* fix add new post button for RTL (minor)

* Remove manual RTL css

We're going to autogenerate RTL css files, so this won't be needed

* Add temp version of webpack-rtl-plugin

This currently loads the version from https://github.com/yoavf/webpack-rtl-plugin/tree/develop
This include a simple (but required) change, that's been requested upstream as a PR:
romainberger/webpack-rtl-plugin#15

* use webback-rtl-plugin to create -rtl css files

* Load -rtl css files for all Gutenberg css files

This is done by adding style data - WP will automatically load the -rtl css files instead of the regular files in RTL mode.

* whitespace, add inline comment to build file

* indenting fix

* Improve RTL styles on the desktop breakpoint.

* TintMCE: Fix TinyMCE initialization for RTL languages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant