Details
-
Bug
-
Resolution: Fixed
-
Major
-
1.7 RC1
-
None
Description
When there is a significantly big stylesheet specified for the wysiwyg editor content and the loading takes some moments, the following type of exceptions occur (copied from firebug console):
[Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsISelection.getRangeAt]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: http://localhost:8080/xwiki/com.xpn.xwiki.wysiwyg.Wysiwyg/E82E1ED449DF5597D6D8682DDD4AC87D.cache.html :: com_xpn_xwiki_wysiwyg_client_widget_rta_history_internal_DefaultHistory_$save__Lcom_xpn_xwiki_wysiwyg_client_widget_rta_history_internal_DefaultHistory_2 :: line 21045" data: no] [Break on this error] range = com_xpn_xwiki_wysiwyg_client_d...ultSelection_2I_range_0.getRangeAt(0)));