westonruter / syntax-highlighting-code-block

Extending the WordPress Code block with syntax highlighting rendered on the server, thus having faster frontend performance and being AMP-compatible.
https://wordpress.org/plugins/syntax-highlighting-code-block/
GNU General Public License v2.0
117 stars 11 forks source link

Improve discovery and UX of changing settings in Customizer #253

Open westonruter opened 3 years ago

westonruter commented 3 years ago

When opening the Customizer from the admin, the initial page in the preview is the homepage. This often won't have any Code blocks on it, leaving our controls in the Colors section very unhelpful. We need to:

twofingerrightclick commented 1 year ago

I also couldn't find the the customize settings... which lead me to this issue, which I have a solution too: Click customize from a page you have code on: image

And for those who cant find the Syntax Customize options on the Customize Panel, search for "Syntax" in the panels search bar: image

westonruter commented 1 year ago

Is that "search settings" field part of a plugin you added?

In any case, customizing the color is going to need to be integrated into the block editor rather than rely on the Customizer going forward. The reason is that for newer sites which use block themes, the Customizer is replaced with the Site Editor.

twofingerrightclick commented 1 year ago

I just realized you are the author... Yes it would be great if the Customize settings was in the block editor. I am only slightly knowledgably about WordPress, but yes the site I was adding this plugin (solid plugin!) to has a block editor based theme. You are right about the search: it is apart of the Neve theme.

westonruter commented 1 year ago

Yes, I want to move the settings to the block editor. It might be part of the global styles system, but I need to learn more about that.

pdkcoder commented 5 months ago

@westonruter any update on this?

westonruter commented 5 months ago

@thphuc no, no update