Version 1.9 / XF 2.1: blurring (i.e. disabling) of editor buttons does not work in text-only mode

nocte

Member
Reactions
5
see title.

Also this options do not seem to have an effect:

Bildschirmfoto 2021-09-20 um 01.09.31.png
 
This sounds like the javascript hasn't been updated. Can you do a rebuild of the add-on?
 
This sounds like the javascript hasn't been updated. Can you do a rebuild of the add-on?
I did that, but no success :(

I found this error in the console:

Code:
Uncaught TypeError: XF.isElementWithinDraftForm is not a function
    at Object.getBbCodeBox (editor.min.js?_v=0bb512f0:48)
    at Object.toBbCode (editor.min.js?_v=0bb512f0:48)
    at c.editorInit (editor-compiled.js?_v=0bb512f0:118)
    at HTMLTextAreaElement.<anonymous> (editor-compiled.js?_v=0bb512f0:103)
    at HTMLTextAreaElement.dispatch (jquery-3.4.1.min.js?_v=0bb512f0:2)
    at HTMLTextAreaElement.v.handle (jquery-3.4.1.min.js?_v=0bb512f0:2)
    at Object.trigger (jquery-3.4.1.min.js?_v=0bb512f0:2)
    at k.fn.init.triggerHandler (jquery-3.4.1.min.js?_v=0bb512f0:2)
    at Object.u [as trigger] (editor-compiled.js?_v=0bb512f0:7)
    at s.<anonymous> (editor-compiled.js?_v=0bb512f0:7)

btw: I also found this one:

Code:
DevTools failed to load source map: Could not load content for https://www.domain.tld/js/sv/vendor/moment/moment.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

.. but countdown works.
 
Update: Same problem on another (test) installation (also XF 2.1) running on another server.
 
Are you using a WAF on these sites? Something might be tripping it and making it block some requests.
 
I did that, but no success :(

I found this error in the console:

Code:
Uncaught TypeError: XF.isElementWithinDraftForm is not a function
    at Object.getBbCodeBox (editor.min.js?_v=0bb512f0:48)
    at Object.toBbCode (editor.min.js?_v=0bb512f0:48)
    at c.editorInit (editor-compiled.js?_v=0bb512f0:118)
    at HTMLTextAreaElement.<anonymous> (editor-compiled.js?_v=0bb512f0:103)
    at HTMLTextAreaElement.dispatch (jquery-3.4.1.min.js?_v=0bb512f0:2)
    at HTMLTextAreaElement.v.handle (jquery-3.4.1.min.js?_v=0bb512f0:2)
    at Object.trigger (jquery-3.4.1.min.js?_v=0bb512f0:2)
    at k.fn.init.triggerHandler (jquery-3.4.1.min.js?_v=0bb512f0:2)
    at Object.u [as trigger] (editor-compiled.js?_v=0bb512f0:7)
    at s.<anonymous> (editor-compiled.js?_v=0bb512f0:7)
Toggle bb-code mode has something from XF2.2 that isn't correctly back-ported to XF2.1, but that shouldn't cause your issues.

btw: I also found this one:

Code:
DevTools failed to load source map: Could not load content for https://www.domain.tld/js/sv/vendor/moment/moment.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

.. but countdown works.
That can be ignored. But will be fixed that the next version of of StandardLib add-on
 

Users who are viewing this thread

Back
Top