Lines Matching refs:anchor

12 		editor.addCommand( 'anchor', new CKEDITOR.dialogCommand( 'anchor' ) );
27 label : editor.lang.anchor.toolbar,
28 command : 'anchor'
31 CKEDITOR.dialog.add( 'anchor', this.path + 'dialogs/anchor.js' );
33 // Add the CSS styles for anchor placeholders.
37 …'background:url(' + CKEDITOR.getUrl( this.path + 'images/anchor.gif' ) + ') no-repeat ' + side + '…
48 // Show the arrow cursor for the anchor image (FF at least).
54 // Make empty anchor selectable on IE.
95 … 'name' ) && ( !element.getAttribute( 'href' ) || !element.getChildCount() ) ) ? 'anchor' : 'link';
99 evt.data.dialog = 'anchor';
108 anchor :
110 label : editor.lang.anchor.menu,
111 command : 'anchor',
112 group : 'anchor',
118 label : editor.lang.anchor.remove,
120 group : 'anchor',
150 var anchor = CKEDITOR.plugins.link.tryRestoreFakeAnchor( editor, element );
152 if ( !anchor && !( anchor = CKEDITOR.plugins.link.getSelectedLink( editor ) ) )
157 if ( anchor.getAttribute( 'href' ) && anchor.getChildCount() )
160 if ( anchor && anchor.hasAttribute( 'name' ) )
161 menu.anchor = menu.removeAnchor = CKEDITOR.TRISTATE_OFF;
207 return editor.createFakeParserElement( element, 'cke_anchor', 'anchor' );
238 return 'anchor';
292 // For browsers that have editing issue with empty anchor.
297 …&& element.data( 'cke-real-element-type' ) && element.data( 'cke-real-element-type' ) == 'anchor' )
350 anchor;
351anchor = sel.getSelectedElement() ) && ( CKEDITOR.plugins.link.fakeAnchor && !anchor.getChildCount…
352 anchor.remove( 1 );
355 if ( ( anchor = CKEDITOR.plugins.link.getSelectedLink( editor ) ) )
357 if ( anchor.hasAttribute( 'href' ) )
359 anchor.removeAttributes( { name : 1, 'data-cke-saved-name' : 1 } );
360 anchor.removeClass( 'cke_anchor' );
363 anchor.remove( 1 );