== Changelog == = 3.49 = * 11/13/2024 * Fix: add nuance for the "in Block editor" option for websites with WP before v6.6 and after = 3.48 = * 09/24/2024 * Feature: add JS/CSS custom codes to the Block editor = 3.47 = * 05/27/2024 * Fix: use the GMT time for showing when a custom code was published or modified = 3.46 = * 01/31/2024 * Tweak: update the Bootstrap and jQuery library links * Tweak: remove the qTranslate-x warning. The qTranslate-x plugin was removed from wp.org since Aug 2021 = 3.45 = * 10/17/2023 * Fix: enqueue the jQuery library only if there is a frontend JS custom code that requires it = 3.44 = * 06/07/2023 * Compatibility with the WooCommerce "custom order tables" feature = 3.43 = * 03/13/2023 * Fix: PHP8.1 deprecation notices * Fix: after adding a JS/HTML custom code with empty content will show the CSS default message in the editor = 3.42 = * 01/17/2023 * Fix: the "LH Archived Post Status" plugin was removing the "Publish" button on the add/edit custom code page * Feature: multiple values for the "Where in site" option = 3.41 = * 10/05/2022 * Feature: code folding in the editor = 3.40 = * 06/10/2022 * Feature: keep the user-set editor's height upon page loads and custom code saves * Feature: save the custom code upon "Ctrl-S" in the editor * Tweak: admin side adjustments for RTL languages = 3.39 = * 03/16/2022 * Fix: load the CodeMirror options from a localized variable * Tweak: add the "ccj_code_editor_settings" filter for modifying the editor's options = 3.38.1 = * 12/02/2021 * Fix: revert the code related to the compatibility with the `HTML Editor Syntax Highlighter` plugin = 3.38 = * 11/09/2021 * Fix: escape labels on the "Add new custom code" page * Feature: keep the last cursor position in the editor and let the editor get focus when the page loads = 3.37 = * 07/12/2021 * Fix: allow the TablePress plugin to load its JS files on the "Add custom code" page in admin * Feature: highlight active line in the editor * Feature: add "Ctrl + J" shortcut to the editor for jumping to the matching tag = 3.36 = * 02/23/2021 * Fix: fatal error with PHP8.0 = 3.35 = * 01/19/2021 * Tweak: change dummy revision dates to fictional dates before 2000 * Fix: replace the deprecated postL10n JS object with wp.i18n * Fix: add "tipsy-no-html" to the tooltips on the settings page = 3.34 = * 11/01/2020 * Feature: enqueue the jQuery library if one of the JS custom codes requires it * Fix: set cookie SameSite attribute to lax = 3.33 = * 08/20/2020 * Fix: the user language preferrence was ignored in favor of the site defined language * Fix: allow the jQuery library added by plugins like Enable jQuery Migrate Helper or Test jQuery Updates * Fix: permalink was not editable with WordPress 5.5 * Feature: fullscreen editor * Feature: button for beautifying the code = 3.32 = * 07/08/2020 * Fix: add "Cmd + " editor shortcuts for MacOS computers * Fix: use file_get_contents instead of include_once to load the custom codes * Fix: compatibility issue with the Product Slider for WooCommerce by ShapedPlugin * Feature: "Ctrl + /" in the editor will comment out the code * Feature: order custom codes table by "type" and "active" state * Feature: autocomplete in the editor = 3.31 = * 03/21/2020 * Declare compatibility WooCommerce 4.1 * Feature: add "After
tag" option for HTML codes, if the theme allows it * Feature: don't show type attribute for script and style tags if the theme adds html5 support for it * Code refactory * Fix: the permalink was mistakingly showing a ".css" file extension when being edited = 3.30 = * 03/12/2020 * Feature: color the matching brackets in the editor * Declare compatibility WooCommerce 4.0 * Declare compatibility WordPress 5.4 = 3.29 = * 01/31/2020 * Fix: date Published and Modified date wasn't shown in Japanese * Feature: indentation in the editor * Feature: close brackets in the editor = 3.28 = * 11/05/2019 * Tweak: update the Bootstrap and jQuery library links * Declare compatibility with WordPress 5.3 = 3.27 = * 08/08/2019 * Compatibility with the "CMSMasters Content Composer" plugin * Feature: keep the cursor position after saving * Option: remove the comments from the HTML = 3.26 = * 05/08/2019 * Fix: remove the Codemirror library added from WP Core * Tweak: use protocol relative urls for custom code linked file * Declare compatibility with WordPress 5.2 = 3.25 = * 04/21/2019 * Tweak: update the Bootstrap and jQuery library links * Declare compatibility with WooCommerce 3.6 = 3.24 = * 04/05/2019 * Fix: remove the editor scrollbar * Tweak: rename "First Page" to "Homepage" to avoid misunderstandings = 3.23 = * 03/15/2019 * Fix: avoid conflicts with other plugins that use CodeMirror as their editor = 3.22 = * 12/06/2018 * Fix: another solution for the bug related to the Edit Custom Code page was blank for WordPress 5.0 and the Classic Editor enabled = 3.21 = * 12/06/2018 * Fix: the Edit Custom Code page was blank for WordPress 5.0 and the Classic Editor enabled = 3.20 = * 11/15/2018 * Fix: remove compatibility with the Shortcoder plugin. Bug https://wordpress.org/support/topic/edit-page-blank-8/ * Declare compatibility WooCommerce 3.5 = 3.19 = * 10/16/2018 * Fix: keep the editor LTR even on RTL websites * Fix: flush rewrite rules after modifying the "Add Web Designer role" option = 3.18 = * 07/13/2018 * Fix: the default comment for JS for other locales than "en_" was removing the