Skip to content

Commit

Permalink
SVYX-948 - Fix getHTMLData to return the same result as NG1
Browse files Browse the repository at this point in the history
  • Loading branch information
RvVeen committed Sep 9, 2024
1 parent f27dde7 commit e9a4d9a
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -556,9 +556,7 @@ export class SmartDocumentEditor extends ServoyBaseComponent<HTMLDivElement> {
if (this.editorInstance) {
let data = '<html><body><div class="ck-content" dir="ltr">' + this.editorInstance.getData() + '</div></body></html>';
if (withInlineCSS) {
if (filterStylesheetName) {
data = (this.Editor as any).getInlineStyle(data, this.getCSSData(filterStylesheetName));
}
data = (this.Editor as any).getInlineStyle(data, this.getCSSData(filterStylesheetName));
}
return data;
}
Expand Down

0 comments on commit e9a4d9a

Please sign in to comment.