<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://docs-old.ckeditor.com/index.php?action=history&amp;feed=atom&amp;title=FCKeditor_2.x%2FDevelopers_Guide%2FCustomization%2FPlug-ins%2FContext</id>
		<title>FCKeditor 2.x/Developers Guide/Customization/Plug-ins/Context - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://docs-old.ckeditor.com/index.php?action=history&amp;feed=atom&amp;title=FCKeditor_2.x%2FDevelopers_Guide%2FCustomization%2FPlug-ins%2FContext"/>
		<link rel="alternate" type="text/html" href="https://docs-old.ckeditor.com/index.php?title=FCKeditor_2.x/Developers_Guide/Customization/Plug-ins/Context&amp;action=history"/>
		<updated>2026-06-07T20:36:36Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.29.1</generator>

	<entry>
		<id>https://docs-old.ckeditor.com/index.php?title=FCKeditor_2.x/Developers_Guide/Customization/Plug-ins/Context&amp;diff=1731&amp;oldid=prev</id>
		<title>W.olchawa: New page: == Example on how to associate a context menu (right click menu) option ==  This example shows how to attach a context menu item for the &quot;placeholder&quot; plugin, as found in FCKEditor 2.3. Th...</title>
		<link rel="alternate" type="text/html" href="https://docs-old.ckeditor.com/index.php?title=FCKeditor_2.x/Developers_Guide/Customization/Plug-ins/Context&amp;diff=1731&amp;oldid=prev"/>
				<updated>2008-01-17T14:23:26Z</updated>
		
		<summary type="html">&lt;p&gt;New page: == Example on how to associate a context menu (right click menu) option ==  This example shows how to attach a context menu item for the &amp;quot;placeholder&amp;quot; plugin, as found in FCKEditor 2.3. Th...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Example on how to associate a context menu (right click menu) option ==&lt;br /&gt;
&lt;br /&gt;
This example shows how to attach a context menu item for the &amp;quot;placeholder&amp;quot; plugin, as found in FCKEditor 2.3. This code will be very similar for your own plugins, just add to the your fckplugin.js file.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
FCK.ContextMenu.RegisterListener( {&lt;br /&gt;
        AddItems : function( menu, tag, tagName )&lt;br /&gt;
        {&lt;br /&gt;
                // under what circumstances do we display this option&lt;br /&gt;
                if ( tagName == 'SPAN' &amp;amp;&amp;amp; tag._fckplaceholder )&lt;br /&gt;
                {&lt;br /&gt;
                        // when the option is displayed, show a separator  the command&lt;br /&gt;
                        menu.AddSeparator() ;&lt;br /&gt;
                        // the command needs the registered command name, the title for the context menu, and the icon path&lt;br /&gt;
                        menu.AddItem( 'placeholder', FCKLang.PlaceholderDlgTitle, oPlaceholderItem.IconPath ) ;&lt;br /&gt;
                }&lt;br /&gt;
        }}&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>W.olchawa</name></author>	</entry>

	</feed>