stable
Clone or download
Read-only
request #24142: Instantiate editors only when needed in the artifact view to avoid unnecessary changes
This contributions achieves two goals: * saving some client side resources by enabling the text editors only when needed * avoid possibly unwanted changes in text fields using the HTML format To reproduce the unwanted changes in the text fields using the HTML format you can: 1. Create a new artifact with the following HTML content: `<html><body>A<p>B</p>` (use the Source option) 2. Add a new follow up to the newly created artifact Change-Id: I19822a27569bd5d7043d2d9b9c528c529e73aa2b
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/scripts/artifact/rich-text-editor-creator/RichTextEditorsCreator.test.ts | +30 | −0 | Go to diff View file |
M | plugins/tracker/scripts/artifact/rich-text-editor-creator/RichTextEditorsCreator.ts | +40 | −25 | Go to diff View file |