Details
-
Bug
-
Resolution: Fixed
-
Minor
-
1.0 B3
-
None
-
patch
-
Description
Following code appears in com.xpn.xwiki.XWiki#getTextArea(...) and com.xpn.xwiki.XWiki#getHTMLArea(...)
int cols = 80; try { context.getWiki().getUserPreferenceAsInt("editbox_width", context); } catch (Exception e) { }
It should have been:
int cols = 80; try { cols = context.getWiki().getUserPreferenceAsInt("editbox_width", context); } catch (Exception e) { }
Anyway, the xwiki10b1 skin uses css to set the editor width, so this is not important for the default wiki