Issue Bug Closed

#73130Internet Explorer 11 does not support to add definitions in RTE

Tizian Schmidlin 02/04/16, 17:33 updated 02/15/16, 12:51

Description

Hello there,

I’m taking the risk to create a duplicate issue but since I didn’t find a similar one I’ll take my chances…

So the problem seems to be as follows:
- When using Internet Explorer in anything other than compat mode for IE 8, the RTE will fail in adding definitions properly
- This is due to following error: object.moveToElementText is not supported

As it seems this.editor.getSelection().createRange() doesn’t generate a proper range for IE11 to use which then leads to failing miserably when trying to call moveToElementText, thus nothing more will happen except adding another <dd>-Tag (instead of a <dl>-tag).

This call is made in typo3/sysext/rtehtmlarea/htmlarea/plugins/BlockElements/block-elements.js on line 967 (approx), look out for nodeRange.moveToElementText(parentElement);.

This is reproduceable in all TYPO3 6.2 versions up to 6.2.17.

Please tell me if you need any more information about the issue.

Best Regards
Tizian

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.