link / a href option for xhtml toolbar / menu

Are you missing a feature? Request it's implementation here.
whyme
Posts: 54

link / a href option for xhtml toolbar / menu

Mon Mar 09, 2015 8:37 pm

In the standard oXygen Author menu for docbook, a variety of linking mechanisms are provided in the default toolbar and menu, and these are convenient.

But I don't think a corresponding function exists in the Author mode for xhtml. Going into the custom settings for the xhtml menus and toolbars, I find no clear way to include an easy way to mark up a text with <a> and @href value. Or it's there and I'm missing it. In either case, it would be nice to have feature be an automatic part of the default menu and toolbar xhtml files being edited in the Author mode.
Radu
Posts: 5867

Re: link / a href option for xhtml toolbar / menu

Tue Mar 10, 2015 10:34 am

Hi,

Thanks for the suggestion.
We will try to add a link action for XHTML in Oxygen 17.0 (which should be released around April-May this year).

You can also customize the XHTML document type and add one yourself if you want.
In the Oxygen Preferences->Document Type Association page you can edit the XHTML document type, in the Author->Actions tab add a new action as follows:

http://www.oxygenxml.com/forum/files/customizeAHref.png

and then add that action to the main XHTML menu, contextual menu and toolbar.

Or you can create a new code template in the Preferences->Editor / Templates / Code Templates page which inserts an XML fragment like:

Code: Select all

<a href="${ask('Href:', relative_url)}">${selection}</a>


The fragment has editor variables inside it which get expanded when it is inserted.
Some other useful editor variables:

http://www.oxygenxml.com/doc/ug-oxygen/#topics/editor-variables.html

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Radu
Posts: 5867

Re: link / a href option for xhtml toolbar / menu

Tue May 19, 2015 11:18 am

Hi,

Based on your feedback Oxygen 17 now has a default toolbar action to insert links in XHTML documents.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Return to “Feature Request”

Who is online

Users browsing this forum: No registered users and 1 guest