XF 2.1 WYSIWYG Error

Hi everyone,

Making a form submission addon and having problems with a field inside my addon. WYSIWYG has problems when submitting images and ocasionally emojis. Here is the error that appears in the console on firefox "InvalidNodeTypeError: The supplied node is incorrect or has an incorrect ancestor for this operation." and "Failed to execute 'setStartAfter' on 'Range': the given Node has no parent" on Chrome. What does this mean? Posted below is the code used to render the WYSIWYG editor inside my template.

Code:
                <xf:editorrow
                    name="response[{$fieldID}]"
                    rowclass="formRow--noColon"
                    label="{$field.title}"
                    hint="{{$field.required ? '<i>Required</i>' : ''}}">

WYSIWYG works fine in other situations like posting threads except my template
 
Last edited:
Thanks @ozzy47 I did read that however it seems to be referencing that image uploading was disabled on the forums, which it isn't (Hence why it works when posting threads), unless it is an attribute you add when creating editorrow. Hopefully the push a 2.1.4 soon so I can test it and see if it still persists.

EDIT: Seems replacing the JS worked. Forgot to enable dev mode on Cloudflare. Thanks!
 
Last edited:
Top Bottom