Skip to content

Commit

Permalink
Merge pull request #83 from sveltor/fix/remove-log
Browse files Browse the repository at this point in the history
fix: remove logger
  • Loading branch information
lynhan318 authored Mar 21, 2024
2 parents 03231f6 + 7067279 commit 0caf464
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
6 changes: 6 additions & 0 deletions .changeset/slimy-melons-exercise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@nextlint/svelte': patch
'@nextlint/core': patch
---

remove log
4 changes: 1 addition & 3 deletions packages/core/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,7 @@ export const nodeIdDecorator = (plugin: TiptapNode) => {
return plugin;
};
export const extractTOC = (root: HTMLElement) => {
root.childNodes.forEach(child => {
console.log('childNOde', child);
});
root.childNodes.forEach(child => {});
};

export const getRootNode = (editor: Editor) => {
Expand Down
1 change: 0 additions & 1 deletion packages/svelte/src/lib/plugins/image/EmbedTab.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
const {editor, getPos, deleteNode} = $props;
if (typeof getPos === 'function') {
console.log('deleteNode');
const pos = getPos();
deleteNode();
editor
Expand Down
1 change: 0 additions & 1 deletion packages/svelte/src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ This is NOT a component library. It's a collection of re-usable components that
let html;
const toHtml = async () => {
html = await svelteEditorToHtml($editor);
console.log('html', html);
};
const handleUpload = async (file: File) => {
Expand Down

0 comments on commit 0caf464

Please sign in to comment.