Merged
Conversation
Adds proper TypeScript configuration and adds Types required for the planned Script of #12 for injection Classes into the body-Tag inside the BlockEditors iFrame.
Adds block-editor-iframe-body-class-injection.ts to observe the iFrame of the BlockEditor (BE). Also adds the compiled Version generated via npm run build. Part of #12
Extends the Advanced Settings page with 3 Additional Fields for setting the desired CSS-Classes that should be injected within the BlockEditors' iFrame Body Tag. Part of #12
Extends the Sanitizer with a new Class with functions to sanitize the CSS-Classes inserted by the user Input. This is part of #12 for Injecting Body Classes inside the BlockEditor iFrame.
Introduces a few number of checks. Only if the conditions are met, the JS file will be embedded and the Classes injected into the iFrame Body of the BlockEditor. s. #12
This Change registers the required three new options in Options Class. As part of #12
The function to wait for the BlockEditor in the BlockEditor store is marked as unstable. We changed it to the unstable version. As part of #12
Fixes an issue in the Sanitizer where Capital Letters were ignored. Part of #12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As described in #12