The use of quicktags
Quote from Yworld on June 11, 2017, 2:13 amHi Thomas
When using quicktags, there is an error in the console
Uncaught TypeError: Cannot read property ‘focus’ of null
wp-content/plugins/asgaros-forum/js/script.js?ver=1.5.3:21
script.js?ver=1.5.3:21 Uncaught TypeError: Cannot read property 'focus' of null at HTMLFormElement.<anonymous> (script.js?ver=1.5.3:21) at HTMLFormElement.d.complete (jquery.js?ver=1.12.4:4) at i (jquery.js?ver=1.12.4:2) at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2) at i (jquery.js?ver=1.12.4:4) at n.fx.tick (jquery.js?ver=1.12.4:4) (anonymous) @ script.js?ver=1.5.3:21 d.complete @ jquery.js?ver=1.12.4:4 i @ jquery.js?ver=1.12.4:2 fireWith @ jquery.js?ver=1.12.4:2 i @ jquery.js?ver=1.12.4:4 n.fx.tick @ jquery.js?ver=1.12.4:4 setInterval (async) n.fx.start @ jquery.js?ver=1.12.4:4 n.fx.timer @ jquery.js?ver=1.12.4:4 qb @ jquery.js?ver=1.12.4:4 g @ jquery.js?ver=1.12.4:4 dequeue @ jquery.js?ver=1.12.4:3 (anonymous) @ jquery.js?ver=1.12.4:3 each @ jquery.js?ver=1.12.4:2 each @ jquery.js?ver=1.12.4:2 queue @ jquery.js?ver=1.12.4:3 animate @ jquery.js?ver=1.12.4:4 n.fn.(anonymous function) @ jquery.js?ver=1.12.4:4 (anonymous) @ script.js?ver=1.5.3:10 dispatch @ jquery.js?ver=1.12.4:3 r.handle @ jquery.js?ver=1.12.4:3This is possible to correct?
With respect, Igor 🙂
Hi Thomas
When using quicktags, there is an error in the console
Uncaught TypeError: Cannot read property ‘focus’ of null
wp-content/plugins/asgaros-forum/js/script.js?ver=1.5.3:21
script.js?ver=1.5.3:21 Uncaught TypeError: Cannot read property 'focus' of null at HTMLFormElement.<anonymous> (script.js?ver=1.5.3:21) at HTMLFormElement.d.complete (jquery.js?ver=1.12.4:4) at i (jquery.js?ver=1.12.4:2) at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2) at i (jquery.js?ver=1.12.4:4) at n.fx.tick (jquery.js?ver=1.12.4:4) (anonymous) @ script.js?ver=1.5.3:21 d.complete @ jquery.js?ver=1.12.4:4 i @ jquery.js?ver=1.12.4:2 fireWith @ jquery.js?ver=1.12.4:2 i @ jquery.js?ver=1.12.4:4 n.fx.tick @ jquery.js?ver=1.12.4:4 setInterval (async) n.fx.start @ jquery.js?ver=1.12.4:4 n.fx.timer @ jquery.js?ver=1.12.4:4 qb @ jquery.js?ver=1.12.4:4 g @ jquery.js?ver=1.12.4:4 dequeue @ jquery.js?ver=1.12.4:3 (anonymous) @ jquery.js?ver=1.12.4:3 each @ jquery.js?ver=1.12.4:2 each @ jquery.js?ver=1.12.4:2 queue @ jquery.js?ver=1.12.4:3 animate @ jquery.js?ver=1.12.4:4 n.fn.(anonymous function) @ jquery.js?ver=1.12.4:4 (anonymous) @ script.js?ver=1.5.3:10 dispatch @ jquery.js?ver=1.12.4:3 r.handle @ jquery.js?ver=1.12.4:3
This is possible to correct?
With respect, Igor 🙂
Quote from Asgaros on June 12, 2017, 1:41 pmHello,
I cant reproduce this bug. Is it only with activated quicktags or other stuff as well? Have you cleared your browser cache? Please double-check if this is a bug with other TinyMCE-editor-extensions because WordPress made some API-changes with the latest 4.8 update.
Hello,
I cant reproduce this bug. Is it only with activated quicktags or other stuff as well? Have you cleared your browser cache? Please double-check if this is a bug with other TinyMCE-editor-extensions because WordPress made some API-changes with the latest 4.8 update.
Quote from Yworld on June 12, 2017, 1:51 pmError with this connection:
function change_editor_settings($settings) { if (is_super_admin()) { $settings['teeny'] = false; $settings['quicktags'] = true; return $settings; } } add_filter('asgarosforum_filter_editor_settings', 'change_editor_settings');
Error with this connection:
function change_editor_settings($settings) { if (is_super_admin()) { $settings['teeny'] = false; $settings['quicktags'] = true; return $settings; } } add_filter('asgarosforum_filter_editor_settings', 'change_editor_settings');
Quote from Asgaros on June 13, 2017, 1:23 pmThank you. I could reproduce and fix it. 🙂
https://github.com/Asgaros/asgaros-forum/commit/91847ad023799d8bfb6a8f2b7628f931412cb36e
Thank you. I could reproduce and fix it. 🙂
https://github.com/Asgaros/asgaros-forum/commit/91847ad023799d8bfb6a8f2b7628f931412cb36e