major
minor
major
minor
If you try to copy something from the old help section and paste it into the CKEditor, a lot of the formatting—such as headings or bullet points—doesn't work. In addition, copying images causes error messages in the developer console, and it doesn't work.
Improvement
In the old help section, many tags are enclosed in a <a> tag that lacks a valid href. In Tl-Doc, this results in invalid anchors, which are now filtered out by copying only <a> tags with a set href. Furthermore, the paste filter previously prevented certain tags from being copied, such as headings. Additionally, <b> tags are now converted to <strong>.
To copy images, the HTTP response header on the source server from which the images are being copied must be extended to allow the copying of images from external URLs:
{{{#!java
HTTPServletResponse httpResponse = ...;
httpResponse.setHeader("Access-Control-Allow-Origin", "*");
}}}
Test
Copy the content of a page from the https://apps.top-logic.com/project help section and paste it into TL-Doc. The pages should have the same or similar formatting, especially the headings, bullet points, and other formatting elements such as bold or italics.