I have a question in Basic HTML [closed]

This basically means you do not want to use, say “Microsoft Word” to edit your code. Doing so may (and often will) add unnecessary bits of information to the code… causing it to parse unexpectedly when viewed in a browser. Instead, you a code editor (like Adobe Dreamweaver, or a free alternative like Notepad++) to … Read more

Create keyboard shortcuts for HTML mode

It needs a bit of javascript to do that. You need a listener and some actions. Here we go… At first enqueueing the javascript to the post and post new screens: PHP: add_action( ‘plugins_loaded’, ‘keyboradshortcuts4htmleditor’, 10, 0 ); function keyboradshortcuts4htmleditor(){ add_action( ‘admin_print_scripts-post-new.php’, ‘keyboradshortcuts4htmleditor_enqueue_javascript’, 10, 0 ); add_action( ‘admin_print_scripts-post.php’, ‘keyboradshortcuts4htmleditor_enqueue_javascript’, 10, 0 ); } function keyboradshortcuts4htmleditor_enqueue_javascript(){ … Read more