James Bradford
Forum Replies Created
-
Forum: Plugins
In reply to: [HTML Editor Syntax Highlighter] Please Update Compatibilitydone
Forum: Plugins
In reply to: [HTML Editor Syntax Highlighter] Compatibility with GeneratePress themeThis kind of compatibility (with any random plugin what uses wp-editor) requires that I rewrite the app from the ground up.
I’m working on a v3 that will enable this, but It’ll take some time.
Forum: Reviews
In reply to: [HTML Editor Syntax Highlighter] Does not keep htmlThis plugin does not strip the html from your post. The native WordPress visual editor strips your html with a “feature” called wpautop.
If you disable this plugin and try again you will get the same result.
It is possible to disable this “feature” and keep your html. I have written about this in the plugin FAQ: Why are p and br tags being removed?
Please post to the Support Thread next time instead of giving a 1 star review for something that is solvable.
Thanks!
- This reply was modified 4 years, 9 months ago by James Bradford. Reason: clarity
Forum: Reviews
In reply to: [HTML Editor Syntax Highlighter] Doesn’t workWhere are you not seeing code highlighted? It doesn’t currently highlight code in the Gutenberg blocks.
It definitely works in the Classic Code Editor and the Gutenberg Code Editor.
- This reply was modified 5 years, 6 months ago by James Bradford. Reason: clarity
Forum: Plugins
In reply to: [HTML Editor Syntax Highlighter] Please Provide Your Feedback for v3.0@smiranda
I got similar feedback in the survey that the advanced options were hard to find, so you’re not the only one. Thanks for the 5 stars!Forum: Plugins
In reply to: [HTML Editor Syntax Highlighter] Force execution for custom admin pages?A quick fix would be to comment out the ‘Load only on certain pages’ check in the constructor of your copy of the plugin:
public function __construct () { add_action( 'admin_init', array(&$this, 'hesh_set_options') ); add_action( 'wp_ajax_'.$this->formProcessName, array(&$this, 'hesh_options_form_process')); // Load only on certain pages // if ( // !strstr($_SERVER['SCRIPT_NAME'], 'post.php') && // !strstr($_SERVER['SCRIPT_NAME'], 'post-new.php') && // !strstr($_SERVER['SCRIPT_NAME'], 'editor.php') // ) return; add_action( 'admin_enqueue_scripts', array(&$this, 'hesh_admin_enqueue_scripts' ) ); add_action( 'admin_footer', array(&$this, 'hesh_output_form') ); add_action( 'admin_notices', array(&$this, 'display_survey_notice' )); }
That will make it load on every admin page.
But help me out here @happysolicitor,
Go to the github repo, fork it, replace the ‘Load only on certain pages’ check with an ‘is TinyMCE enqueued’ check, and submit a pull request. I’ll test it and release an update.
Thanks!
- This reply was modified 5 years, 8 months ago by James Bradford.
- This reply was modified 5 years, 8 months ago by James Bradford.
- This reply was modified 5 years, 8 months ago by James Bradford.
Forum: Plugins
In reply to: [HTML Editor Syntax Highlighter] Please Provide Your Feedback for v3.0Code folding is already included! It’s under the Advanced Options which will appear when you click the “more…” button.
Go to Settings > “more…” > Editor Tools > Code Folding
Thanks!
Forum: Plugins
In reply to: [HTML Editor Syntax Highlighter] Annoying Survey barI found the bug, fixed it, and pushed an update.
Please download v2.4.1 and the notification will dismiss forever.
Sorry my survey about user experience gave you a bad user experience. Ironic.
Thanks for helping me sort this out.
Forum: Plugins
In reply to: [HTML Editor Syntax Highlighter] Annoying Survey bar@setevoy Can you change other settings and have them persist across a page reload? Try changing the font-size or color theme and then reloading the page. Did the change stick?
Forum: Plugins
In reply to: [HTML Editor Syntax Highlighter] Annoying Survey bar@mixos Can you change other settings and have them persist across a page reload? Try changing the font-size or color theme and then reloading the page. Did the change stick?
Forum: Reviews
In reply to: [HTML Editor Syntax Highlighter] bugこれは複数行選択/複数カーソルです。
これは機能であり、意図したとおりに機能しているように見えます。
Alt
キーを押しながらカーソルを複数行のセクションにドラッグします。Alt
キーを押したままにしないでください。すべてが正常に機能するはずです。複数のカーソルがある場合は、1回クリックすると1つにリセットされます。
これは助けになりますか?
———
This is multiline select / multiple cursors.
This is a feature, and it looks like it is working as intended.
You must hold down the
alt
key while dragging the cursor to sections of multiple lines. Don’t hold down thealt
key and everything should work normally.If you do have multiple cursors, click once anywhere you will reset to just one.
Does this help?
Forum: Plugins
In reply to: [HTML Editor Syntax Highlighter] Annoying Survey barThis notification should only appear once, and disappear for good when closed.
Try these troubleshooting actions so I can diagnose the issue.
Go to the Plugin page (not Updates page) and update the plugin to v2.4.0 if it is not already. Then re-activate the plugin if it becomes deactivated. If it does not register that there is an update, please let me know.
Open the JS console (
Ctrl+Shift+J
Windows /Ctrl+Option+J
Mac) before closing the notification. Close the notification and see if any errors appear in the console log. Please copy and paste them here if there are any.Sorry for the inconvenience. Thanks for helping me fix this.
Forum: Plugins
In reply to: [HTML Editor Syntax Highlighter] V 2.3.4 update errorI’m real sorry @hommealone. You’re going to have to re-activate the plugin again. Read the latest support post for more details.
Forum: Plugins
In reply to: [HTML Editor Syntax Highlighter] V 2.3.4 update errorYes, this is due to an error on my part caused by a small change to the name of the plugin.
If you see this error, please go to the plugins page and activate the plugin again.
Thanks and Sorry.
Addressed in the FAQ now:
Why are p a br tags being removed?