Skip to content

Conversation

@westonruter
Copy link
Contributor

I wanted to give you a jump start on updating Custom CSS in Jetpack with the new code editor APIs in 4.9-alpha. This is just an initial integration which fixes the JS error that was caused by Jetpack and core conflicting. I'm sure there is additional integration work needed, specifically in the realm of switching between CSS, LESS, and SCSS. But I hope this is helpful for you to get started and also to evaluate the proposed core changes in Trac #41897 which makes the Custom CSS control in the Customizer actually extensible (please apply that core patch or checkout the branch to test). Any findings from the Jetpack integration here will inform what changes need to be made in that core patch.

So I hand this over to the Jetpack team to amend as needed.

Depends on https://github.com/xwp/wordpress-develop/pull/257 which resolves https://core.trac.wordpress.org/ticket/41897

Fixes #7776.

@jeherve jeherve added [Feature] Custom CSS [Status] In Progress [Type] Enhancement Changes to an existing feature — removing, adding, or changing parts of it labels Sep 20, 2017
@westonruter
Copy link
Contributor Author

The dependency https://github.com/xwp/wordpress-develop/pull/257 has been merged into trunk as r41558, and so wpcore#41897 is now resolved and there are no other dependencies for testing this PR, other than to be on trunk.

@oskosk
Copy link
Contributor

oskosk commented Oct 23, 2017

Closing in favour of #8028. (The commit here is included in the other PR)

@oskosk oskosk closed this Oct 23, 2017
@oskosk oskosk removed the [Status] Needs Review This PR is ready for review. label Oct 23, 2017
jeherve added a commit that referenced this pull request Oct 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Feature] Custom CSS [Pri] BLOCKER [Pri] High [Type] Enhancement Changes to an existing feature — removing, adding, or changing parts of it

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Custom CSS: Re-use CodeMirror bundled in Core and the new code editor API

4 participants