Skip to content

[WIP] Add Jetpack CSS support for Code Editor control in core patch#7794

Closed
westonruter wants to merge 1 commit into
Automattic:masterfrom
xwp:fix/custom-css-code-editor-4.9
Closed

[WIP] Add Jetpack CSS support for Code Editor control in core patch#7794
westonruter wants to merge 1 commit into
Automattic:masterfrom
xwp:fix/custom-css-code-editor-4.9

Conversation

@westonruter

Copy link
Copy Markdown
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 Enhancement Changes to an existing feature — removing, adding, or changing parts of it labels Sep 20, 2017
@westonruter

Copy link
Copy Markdown
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

oskosk commented Oct 23, 2017

Copy link
Copy Markdown
Contributor

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

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

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