fix(core): update
This commit is contained in:
@ -164,7 +164,7 @@ export class DeesDataviewCodebox extends DeesElement {
|
||||
}
|
||||
});
|
||||
if (this.codeToDisplay && this.codeToDisplay !== this.codeToDisplayStore) {
|
||||
this.codeToDisplayStore = smartstring.indent.normalize(this.codeToDisplay);
|
||||
this.codeToDisplayStore = smartstring.indent.normalize(this.codeToDisplay).trimStart();
|
||||
}
|
||||
if (slottedCodeNodes[0] && slottedCodeNodes[0].wholeText && !this.codeToDisplay) {
|
||||
this.codeToDisplayStore = smartstring.indent.normalize(slottedCodeNodes[0].wholeText);
|
||||
|
Reference in New Issue
Block a user