There must be a bug with the Team site template in SharePoint 2010. This template is the only one where the hidden property MSOLayout_InDesignModeMSOLayout_InDesignMode
does not change to '1' when you switch to Edit/Design mode. It never has a value. Consequently, I have not been able to detect edit mode in a team site. For me, my issue is that I have some Jquery code to leverage Typekit functionality (more graphical fonts using CSS) and when this runs in edit mode, it causes a 'sp.ui.rte.debug.js access denied'sp.ui.rte.debug.js access denied
error, which in turn prevents any of the ribbon drop downs (e.g. font) from working.
Taran Goel
- 4.5k
- 5
- 21
- 44