Auto-resizing a DITA table after inserting content

Hi, When a conref with a long word is inserted in a table cell, the other cells in the same column are automatically resized to the same size of the cell after inserting this conref. When we insert our custom 'variable reference' (behavior etc. is similar to a conref), the other table cells of the same column are not automatically resized. We also see that the inserted content is not split (e.g. on spaces) [cid:image001.png@01D525C6.DD44BEC0] Is this something that needs to be configured or a API call that is required? As a temporary workaround, can the user force a 're-rendering/refresh' of a table himself (some menu in the editor)? Kind regards, Pascal

Hi Pascal, You can refresh the entire edited content in the Author visual editing mode using the F5 keyboard shortcut but probably the table will look the same no matter how many times you refresh it. So you added your own "ro.sync.ecss.extensions.api.AuthorReferenceResolver" implementation, right? Also did you add some kind of custom CSS rule matching such reused elements? Or use our StylesFilter API? Somehow I need to reproduce this on my side in order to add logging on my side. So if possible please send to "support@oxygenxml.com" a sample file + the custom framework extension containing your Java extensions. Regards, Radu Radu Coravu <oXygen/> XML Editor http://www.oxygenxml.com On 6/18/2019 12:13 PM, Pascal Beutels wrote:
Hi,
When a conref with a long word is inserted in a table cell, the other cells in the same column are automatically resized to the same size of the cell after inserting this conref.
When we insert our custom ‘variable reference’ (behavior etc. is similar to a conref), the other table cells of the same column are not automatically resized.
We also see that the inserted content is not split (e.g. on spaces)
Is this something that needs to be configured or a API call that is required?
As a temporary workaround, can the user force a ‘re-rendering/refresh’ of a table himself (some menu in the editor)?
Kind regards,
Pascal
_______________________________________________ oXygen-sdk mailing list oXygen-sdk@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-sdk
participants (2)
-
Oxygen XML Editor Support (Radu Coravu)
-
Pascal Beutels