Skip to content

Commit

Permalink
Fix requested changes [here](obsidianmd/obsidian-releases#2281 (comment)
Browse files Browse the repository at this point in the history
)
  • Loading branch information
NicoNekoru committed Aug 18, 2023
1 parent 23ffd94 commit 07bb98e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "Sheets Extended",
"version": "1.0.1",
"minAppVersion": "0.15.0",
"description": "Vertical headers, merged cells, and custom css tables with advanced table compatability",
"description": "Vertical headers, merged cells, and custom css tables with advanced table compatibility",
"author": "NicoNekoru",
"authorUrl": "https://github.com/NicoNekoru",
"isDesktopOnly": false
Expand Down
8 changes: 4 additions & 4 deletions src/main.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { MetaParser } from 'metaParser';
import { MarkdownPostProcessorContext, Plugin, MarkdownPreviewRenderer, htmlToMarkdown } from 'obsidian';
import { MarkdownPostProcessorContext, Plugin, htmlToMarkdown } from 'obsidian';
// import { SheetSettingsTab } from './settings';
import { SheetElement } from './sheetElement';
// Remember to rename these classes and interfaces!
Expand All @@ -8,7 +8,7 @@ export class ObsidianSpreadsheet extends Plugin
{
async onload()
{
console.log('loading spreadsheet plugin');
// console.log('loading spreadsheet plugin');
this.registerMarkdownCodeBlockProcessor(
'sheet',
async (
Expand Down Expand Up @@ -44,7 +44,7 @@ export class ObsidianSpreadsheet extends Plugin
}
);

MarkdownPreviewRenderer.registerPostProcessor(async (el, ctx) =>
this.registerMarkdownPostProcessor(async (el, ctx) =>
{
// if (el.querySelector('#sheet-metadata'))
// {
Expand All @@ -66,7 +66,7 @@ export class ObsidianSpreadsheet extends Plugin

onunload()
{
console.log('unloading spreadsheet plugin');
// console.log('unloading spreadsheet plugin');
}

}
Expand Down
3 changes: 0 additions & 3 deletions src/sheetElement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,6 @@ export class SheetElement extends MarkdownRenderChild

onload()
{
// TODO: refactor into never nesting
console.log('spreadsheets loaded');

this.initRegex();

// Parse code block input
Expand Down

0 comments on commit 07bb98e

Please sign in to comment.