-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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 Block: Custom HTML #1386
Comments
HI, What are You using to get code coloring (and line numbers) ? I have latest Gutenberg and cannot see it. OK, sorry...missed that "Mockup". Have seen it on some other issue too. |
Right was about to say ;) syntax highlighting hasn't been implemented yet. But it would be really cool to have. |
Do You (miss)use Amphetamines ? Or is Matt Mullenweg paying you well. Anything people ask here you make for few days. You ask something smaller in Pods community, expect it be finished for 2 years. Have never seen such activity and enthusiasm in anything connected to WordPress before. |
Just noticed you mentioned Pods again here, wanted to again reiterate that isn't true and does not accurately reflect the circumstance/context of that occasion (a very complicated feature). I'll leave it at that. |
Make the CodeEditor in the HTML block look vaguely like what Joen mocked up in #1386.
Make the CodeEditor in the HTML block look vaguely like what Joen mocked up in #1386.
Make the CodeEditor in the HTML block look vaguely like what Joen mocked up in #1386.
Make the CodeEditor in the HTML block look vaguely like what Joen mocked up in #1386.
Make the CodeEditor in the HTML block look vaguely like what Joen mocked up in #1386.
Make the CodeEditor in the HTML block look vaguely like what Joen mocked up in #1386.
Make the CodeEditor in the HTML block look vaguely like what Joen mocked up in #1386.
Make the CodeEditor in the HTML block look vaguely like what Joen mocked up in #1386.
Let's build a block that allows you to paste custom HTML into it.
This mockup includes a new pattern: Text button groups. It's exactly the same as the control group containing alignments, in that you can only pick one button at a time in the group. But this one has text instead of icons inside.
Attributes
Clicking the preview tab shows a preview of the form instead of the HTML.
Syntax highlighting and line numbers is a "nice to have", and doesn't need to be in this block in V1.
States
Neutral:
Selected:
The text was updated successfully, but these errors were encountered: