Unwanted font change with keyboard shortcuts

[ad_1]

Background: WP 6.01, Genesis (child theme) 2.10.1. Self-hosted blog, over 14 years old.

For years, for DECADES, I’ve been toggling italics, boldface, hyperlinks, etc, using keyboard shortcuts while creating a post in the WP editor: Ctrl-I, Ctrl-B, Ctrl-K, etc. It was a habit which I’d developed after years of using regular word-processing and email programs which all shared the same shortcuts even when their menus changed.

Some months ago, I started noticing something peculiar: italicized/bold/etc. passages in my recently published posts were also displaying in a larger font as well as with whatever characteristics I’d assigned to them on my own. On inspection. it seemed that every such passage had had the following garbage HTML attributes added:

`data-default-font-size=”22px” data-default-color=”rgb(0, 0, 0)” data-default-background-color=”rgba(0, 0, 0, 0)” data-default-font-family=”-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif”`

(Aside: the text within the editor — when edited “visually” — did not display that way; only when viewed as a previewed/published post.)

What a pain this was to edit out that crap. But it stopped behaving that way for a month or so, and I figured it must’ve been a bug, now fixed.

NOW IT’S BACK. And it’s driving me CRAZY.

Anyone know what the hell is going on? Especially how to make it STOP?

I should add btw that if I use the WP graphic UI features to assign italics, hyperlinks, whatever, the garbage attributes are NOT automatically inserted. But the whole point of keyboard shortcuts is to enable typists to keep their hands on the keyboard, and not require use of mouse/trackpad/touch screen — thereby breaking their typing rhythm. I can’t (and don’t think I should have to) “unlearn” a decades-old keyboarding standard to accommodate WP posting.

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer