Skip to content

Commit

Permalink
Move to new API
Browse files Browse the repository at this point in the history
  • Loading branch information
djbarnwal committed Dec 28, 2024
1 parent c9c1afa commit a9958ad
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 1 addition & 2 deletions web-common/src/features/canvas/CanvasEditor.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
bind:editor
onSave={(content) => {
// Remove the explorer entity so that everything is reset to defaults next time user navigates to it
canvasEntityStore.remove(canvasName);
// TODO
canvasEntityStore.removeEntity(canvasName);

// Reset local persisted dashboard state for the metrics view
if (!content?.length) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,10 @@
{@html DOMPurify.sanitize(content)}
{/await}
</div>

<style lang="postcss">
:global(.markdown h1) {
font-size: 2em;
font-weight: 500;
}
</style>

0 comments on commit a9958ad

Please sign in to comment.