Insert table without title

Having trouble deploying Oxygen XML Web Author? Got a bug to report? Post it all here.
leensmits
Posts: 3
Joined: Mon Jan 16, 2017 1:18 pm

Insert table without title

Post by leensmits »

The Web author "Insert Table" automatically adds a table title.
In the Eclipse Author, you could uncheck the title and it remembers that.
How can we change the behavior in the web author so that the "Insert Table" does not add the table title?
Attachments
insert-table-with-without-title.jpg
insert-table-with-without-title.jpg (37.47 KiB) Viewed 519 times
Bogdan Dumitru
Site Admin
Posts: 142
Joined: Tue Mar 20, 2018 5:28 pm

Re: Insert table without title

Post by Bogdan Dumitru »

Hello,

Notice that after invoking the Insert Table action, you can delete the title element by using the Backspace key because the caret is placed in the title element.
Anyway, if you precisely want the tables not to be inserted with a title element, you have to remove our built-in action and then add a custom action in its place. The actions are defined at a framework level.
See in the Creating and Customizing Author Mode Actions for a Framework topic how to define a custom action. Hint: the action should invoke the InsertFragmentOperation with the table fragment configured in the operation arguments.
See in the Customizing the Oxygen XML Web Author how to see and test framework changes in Oxygen XML Web Author, changes made in Oxygen XML Editor.
See in the Adding or Removing a Framework how to upload the updated framework in your Web Author server.
Bogdan Dumitru
http://www.oxygenxml.com
leensmits
Posts: 3
Joined: Mon Jan 16, 2017 1:18 pm

Re: Insert table without title

Post by leensmits »

Thanks for your fast reply! I will study this customization.
Post Reply