Changeset 26201
- Timestamp:
- 11/15/2013 05:17:13 AM (11 years ago)
- Location:
- trunk/src/wp-includes/js/tinymce/plugins
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/tinymce/plugins/wplink/editor_plugin_src.js
r23191 r26201 1 /* global tinymce */ 2 1 3 (function() { 2 4 tinymce.create('tinymce.plugins.wpLink', { … … 19 21 id : 'wp-link', 20 22 width : 480, 21 height : "auto",23 height : 'auto', 22 24 wpDialog : true, 23 25 title : ed.getLang('advlink.link_desc') … … 49 51 authorurl : 'http://wordpress.org', 50 52 infourl : '', 51 version : "1.0"53 version : '1.0' 52 54 }; 53 55 } -
trunk/src/wp-includes/js/tinymce/plugins/wpview/editor_plugin_src.js
r22798 r26201 1 /* global tinymce */ 1 2 /** 2 3 * WordPress View plugin. … … 9 10 10 11 tinymce.create('tinymce.plugins.wpView', { 11 init : function( editor , url) {12 init : function( editor ) { 12 13 var wpView = this; 13 14 … … 34 35 // When the editor's content has been updated and the DOM has been 35 36 // processed, render the views in the document. 36 editor.onSetContent.add( function( editor , o) {37 editor.onSetContent.add( function( editor ) { 37 38 wp.mce.view.render( editor.getDoc() ); 38 39 }); … … 42 43 // When a view is selected, ensure content that is being pasted 43 44 // or inserted is added to a text node (instead of the view). 44 editor.selection.onBeforeSetContent.add( function( selection , o) {45 editor.selection.onBeforeSetContent.add( function( selection ) { 45 46 var view = wpView.getParentView( selection.getNode() ), 46 47 walker, target; … … 96 97 // Triggers when the selection is changed. 97 98 // Add the event handler to the top of the stack. 98 editor.onNodeChange.addToTop( function( editor, controlManager, node , collapsed, o) {99 editor.onNodeChange.addToTop( function( editor, controlManager, node ) { 99 100 var view = wpView.getParentView( node ); 100 101
Note: See TracChangeset
for help on using the changeset viewer.