Changeset 25132
- Timestamp:
- 08/26/2013 09:23:58 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/tinymce/plugins/wordpress/editor_plugin_src.js
r24215 r25132 228 228 o.content = o.content.replace(/<p>(<br ?\/?>|\u00a0|\uFEFF)?<\/p>/g, '<p> </p>'); 229 229 }); 230 231 // Fix bug in iOS Safari where it's impossible to type after a touchstart event on the parent document. 232 // Happens after zooming in or out while the keyboard is open. See #25131. 233 if ( tinymce.isIOS5 ) { 234 ed.onKeyDown.add( function() { 235 if ( document.activeElement == document.body ) { 236 ed.getWin().focus(); 237 } 238 }); 239 } 230 240 231 241 ed.onSaveContent.add(function(ed, o) {
Note: See TracChangeset
for help on using the changeset viewer.