I need to add custom tags into an fckedit edit zone, which the user should not be able to modify, but only move/add/delete around the editable area.
Has anybody ran into the same need or seen implemented solutions?
thanks
Has anybody ran into the same need or seen implemented solutions?
thanks
RE: Custom non-editable tags
The placeholder object is a span with attribute 'contenteditable="false"'. For more info, check the plugin's fckplugin.js file in 'editor/plugins/placeholder/'
But sadly, while fine in IE, the placeholder is editable nevertheless in Firefox... Maybe you can have a look at it a purge out the code you want and fix it for firefox :-/
Good luck
Btw, to be able to use the plugin, unbrake in your fckconfig.js file the line: // FCKConfig.Plugins.Add( 'placeholder', 'de,en,fr,it,pl' ) ; and add a button for it to your toolbarset: ['About','-','Placeholder'] (note the capitacl 'P')
RE: Custom non-editable tags
what I was looking for.
Have been surfing around a bit trying to figure out how to fix the "noneditable" flag on mozilla based browsers, but to no avail. That engine seems to have support for locking the hole document only...
Thanks
RE: Custom non-editable tags