PluginProbe
Code Block Pro – Beautiful Syntax Highlighting / 1.13.0
Code Block Pro – Beautiful Syntax Highlighting v1.13.0
1.27.1 1.27.2 1.27.3 1.27.4 1.27.5 1.27.6 1.27.7 1.28.0 1.3.0 1.4.0 1.5.0 1.5.1 1.5.2 1.6.0 1.7.0 1.8.0 1.9.0 1.9.1 1.9.2 1.9.3 trunk 1.1.0 1.10.0 1.11.0 1.11.1 All 63 releases
← All changes | src/editor/components/FontSelect.tsx +2 -14 1.27.21.13.0 View file →
@@ -112,28 +112,16 @@
112 112 onChange: (v: string) => void;
113 113 }) => {
114 114 const fonts = {
115 115 '': __('System Default', 'code-block-pro'),
116 - 'Code-Pro-Comic-Mono.ttf': 'Comic Mono',
117 - 'Code-Pro-Cozette': 'Cozette',
118 - 'Code-Pro-Deja-Vu-Mono.ttf': 'DejaVu Mono',
119 - 'Code-Pro-Fantasque-Sans-Mono': 'Fantasque Sans Mono',
116 + 'Code-Pro-JetBrains-Mono': 'JetBrains Mono',
120 117 'Code-Pro-Fira-Code': 'Fira Code',
121 - 'Code-Pro-Geist-Mono': 'Geist Mono',
122 - 'Code-Pro-Hack': 'Hack',
123 - 'Code-Pro-JetBrains-Mono': 'JetBrains Mono',
124 - 'Code-Pro-JetBrains-Mono-NL.ttf': 'JetBrains Mono (No Ligatures)',
125 - 'Code-Pro-Monaspace-Argon.woff': 'Monaspace Argon',
126 - 'Code-Pro-Monaspace-Krypton.woff': 'Monaspace Krypton',
127 - 'Code-Pro-Monaspace-Neon.woff': 'Monaspace Neon',
128 - 'Code-Pro-Monaspace-Radon.woff': 'Monaspace Radon',
129 - 'Code-Pro-Monaspace-Xenon.woff': 'Monaspace Xenon',
130 - 'Code-Pro-Roboto-Mono.ttf': 'Roboto Mono',
131 118 };
132 119 return (
133 120 <SelectControl
134 121 id="code-block-pro-font-family"
135 122 label={__('Font Family', 'code-block-pro')}
123 + help={__('Fonts only render on the frontend.', 'code-block-pro')}
136 124 value={value}
137 125 onChange={onChange}
138 126 options={Object.entries(fonts).map(([value, label]) => ({
139 127 label,