Page 1 of 1
Insert table without title
Posted: Wed Apr 26, 2023 10:10 am
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?
Re: Insert table without title
Posted: Wed Apr 26, 2023 12:17 pm
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.
Re: Insert table without title
Posted: Wed Apr 26, 2023 8:48 pm
by leensmits
Thanks for your fast reply! I will study this customization.