This issue has been created
There is 1 update.
 
 
Book Versions / cid:jira-generated-image-avatar-7605d351-bad2-4e54-8348-0ae190da0604 BVERSION-79 Open

Handle title display in edit mode on translated pages

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-eb65ee54-60a5-43b1-b198-141a2b033e81 Raluca Stavro created this issue on 09/Jan/25 12:30
 
Summary: Handle title display in edit mode on translated pages
Issue Type: cid:jira-generated-image-avatar-7605d351-bad2-4e54-8348-0ae190da0604 Task
Assignee: Unassigned
Created: 09/Jan/25 12:30
Priority: cid:jira-generated-image-static-major-839d7e0a-2a85-430b-8647-c584e5ec4978 Major
Reporter: Raluca Stavro
 
 

1 update

 
cid:jira-generated-image-avatar-eb65ee54-60a5-43b1-b198-141a2b033e81 Changes by Raluca Stavro on 09/Jan/25 12:33
 
Description: The title of the document is composed of velocity code in order to compute the translated title.

Need to check if there is a real need of displaying the current translated title instead of the velocity code, when loading the editor.

Displaying the translated title in edit mode is not that simple.

1. One solution would be to replace the title dynamically with JavaScript, but for example, the inline editor feature generates multiple update events on the DOM and the translated title is loaded with a visible delay.

2. Another solution would be to hide the title field in edit mode if the page is detected as being translated.

3. Another solution would be to use sheets for book pages and for versioned content pages. The downside here is the fact that the UI of the page must be defined in the sheet (displaying the title, the content), rather that relying on the standard UI.