Developer forum

Forum » Development » Show custom tags in editor

Show custom tags in editor

Paul Nilsson
Reply
I have created some global tags that i'm using in the text editor a paragraph.
My problem is that I have to add these tags in source mode and when I switch back to text mode I cant see where the tag is.
If I cant see it is easy to delete it when you edit the text.

Is there someway to make the tags visible in text mode?

Replies

 
Pavel Volgarev
Reply
Hi Paul,

There is a plugin for the editor that enables showing template tags in design mode. The plugin is disabled by default and you will need to modify the editor configuration file in order to enable it. Open /Admin/Editor/fckconfig.js and uncomment the following line:
// FCKConfig.Plugins.Add('DwTagsViewer');

The plugin has no UI. It just highlights your template tags when working in design mode. Note that you will still need to switch to source mode in order to add new tags but you can delete existing tags without doing so.

Of course you might not have access to the editor configuration file. I will talk to my colleagues regarding registering a new product backlog item for this.

-- Pavel 
 
Paul Nilsson
Reply

Thanks Pavel I will try it.

 

You must be logged in to post in the forum