James Bradford
Forum Replies Created
-
Forum: Reviews
In reply to: [HTML Editor Syntax Highlighter] bug私はv2.3.2のリリースであなたの問題を修正しました
5つ星の評価をください。
ありがとうございます。
Forum: Plugins
In reply to: [HTML Editor Syntax Highlighter] Not working with GutenbergUnfortunately, This plugin does not work with blocks in the Gutenberg Visual Editor. This means it does not highlight code in:
- The Edit as HTML section of every block
- The Custom HTML block
- The Shortcode block
See the the screenshots for visual examples.
See the FAQ also.
Thanks!
Forum: Plugins
In reply to: [HTML Editor Syntax Highlighter] Shortcut for Replace wrong in your ‘FAQ’!I fixed it and added more keycodes to the FAQ
I know exactly how to fix all your problems!
In the top right of the admin section, click on Screen Options and uncheck Additional settings: Enable full-height editor and distraction-free functionality.
You’re not the first person to have issues with this. I think I might include the same option in the Advanced Options menu of the Code editor?
Sorry I took so long to reply.
Forum: Plugins
In reply to: [HTML Editor Syntax Highlighter] Shortcut for Replace wrong in your ‘FAQ’!You are right! I always develop on a mac so i never noticed.
Thanks, I will fix this.
Forum: Reviews
In reply to: [HTML Editor Syntax Highlighter] bugThe highlight was displayed correctly in Gutenberg.
However, in the case of automatic line feed, when clicking on the mouse, the cursor is correctly selected for the X axis
Two lines on the Y axis are automatically line-wrapped, and on the second line, five lines are automatically wired, five lines are selected simultaneously.
It becomes a state like a block selection, and when it inputs it is often inserted into a different stage unintendedSounds like the auto-indent is annoying. I’ve been using this plugin a lot lately and can confirm that it is indeed annoying. I’ve had other complaints about this in the past. I’ll try to disable it.
Forum: Plugins
In reply to: [HTML Editor Syntax Highlighter] Indent Problem on wordpress 5Wordpress is removing the indenting. It does this every time it saves. It might be possible, in a future feature, to auto intent the HTML as it saves and reloads. This however would not retain the original indenting, it would reformat it.
Sorry, I’m not sure I can help with this.
Thank you for your very detailed report of the remove/auto-p functionality in Gutenberg. It will help me in trying to support Gutenberg in the future.
Stopping the removep feature may also be possible, but a solution might be hacky and weird. I will look into it.
Unfortunately, with [“disable visual editor”] disable setting set now in Gutenberg, your plugin does not run at all, because apparently the “visual editor” mode needs to be active to support the “code editor” functionality
This might be something I can fix more near-term.
I think I can help you.
However, this plugin is probably not whats causing the issue you’re facing. The addition of
<p>
tags and formatting is a native wordpress feature. This plugin does not edit or filter the content of your posts. It only highlights the code.wp auto p
Wordpress has a feature called the “auto p” filter whichChanges double line-breaks in the text into HTML paragraphs.
For example, auto p will take some standard post content like this:
Some long text that has many lines and paragraphs in it.
and turn it into this:
<p>Some long text<br/> that has many lines</p> <p>and paragraphs in it.</p>
Like your little brother, it thinks it’s helping, even if it isn’t.
What to do about it
There are several plugins you can use to disable it in the Classic Editor. I’d recommend Toggle wpautop. As for Gutenberg, it looks as though there is a new autop feature that is run with javascript. I’m not sure how you could disable it easily, but there does seem to be a “removep” that does the opposite.I hope you’re a little more informed about whats going on with your content. This issue is beyond the scope of this plugin. Also, I’m willing to bet you’d still have this issue if you deactivated this plugin.
Does this sound about right?
- This reply was modified 6 years, 1 month ago by James Bradford.
- This reply was modified 6 years, 1 month ago by James Bradford.
- This reply was modified 6 years, 1 month ago by James Bradford.
Forum: Plugins
In reply to: [HTML Editor Syntax Highlighter] Missing editor ScrollbarYou can turn on scrollbars in an option!
Go to the (little gear in the top right of the editor) Settings > “more…” > “Editor Tools” > “Show Scrollbars”
Sorry its a little hidden. Cheers!
Forum: Reviews
In reply to: [HTML Editor Syntax Highlighter] Excellent??
Forum: Plugins
In reply to: [HTML Editor Syntax Highlighter] JS Error: Classic Editorrad
Forum: Plugins
In reply to: [HTML Editor Syntax Highlighter] JS Error: Classic EditorOK I’m pushing an update now, v2.3.1, that should fix things (Hopefully?). I can’t recreate this issue on my end, but I did identify the bad javascript that could be causing things. Please update, test on your end, and get back to me.
Thanks!
Forum: Plugins
In reply to: [HTML Editor Syntax Highlighter] JS Error: Classic EditorAre you using the Classic Editor Plugin or the Gutenberg Block called Classic Editor?
Forum: Plugins
In reply to: [HTML Editor Syntax Highlighter] JS Error: Classic EditorThanks for bringing this to my attention. I’m looking into it now, and should have a patch shortly!