新版本的WP小工具儲存的時候會出現JS錯誤訊息
Format "core/code" is already registered.B @ rich-text.min.js:2
Format "core/strikethrough" is already registered. rich-text.min.js:2
Format "core/subscript" is already registered. rich-text.min.js:2
Format "core/superscript" is already registered. rich-text.min.js:2
使用外掛將小工具變成傳統小工具,安裝下面外掛
在functions.php 裡面加入下面的程式碼,進行進用新版小工具
add_filter( 'gutenberg_use_widgets_block_editor', '__return_false' );
add_filter( 'use_widgets_block_editor', '__return_false' );