In some instances the range will be set outside the editor and cause the link to be inserted at whatever location the range is set to, causing links to be inserted into strange places. You can observe this by entering text into a normal field, then clicking the add link button without first setting your cursor inside the WYSIWYG. This update will force the range to be set to the editor if it is not already.
In some instances the range will be set outside the editor and cause the link to be inserted at whatever location the range is set to, causing links to be inserted into strange places. You can observe this by entering text into a normal field, then clicking the add link button without first setting your cursor inside the WYSIWYG. This update will force the range to be set to the editor if it is not already.