mirror of
https://github.com/anareaty/html-checkboxes.git
synced 2026-07-22 12:00:30 +00:00
Compare commits
No commits in common. "master" and "1.1.1" have entirely different histories.
2 changed files with 2 additions and 3 deletions
3
main.ts
3
main.ts
|
|
@ -291,11 +291,10 @@ export default class HTMLCheckboxPlugin extends Plugin {
|
|||
let lastLineLength = editor.getLine(lastLine).length
|
||||
let startCursor = editor.getCursor("from")
|
||||
let endCursor = editor.getCursor("to")
|
||||
let cursor = editor.getCursor()
|
||||
editor.setSelection({line:0, ch: 0}, {line:lastLine, ch: lastLineLength})
|
||||
let editorContent = editor.getSelection()
|
||||
let re = /(id="hc-)([^"]+)(\")/g;
|
||||
|
||||
let cursor = editor.getCursor()
|
||||
|
||||
/* In regular notes event triggers after text already pasted, but in canvas - before text pasted, so we need to process content differently. */
|
||||
/* In the paste listener we prevented paste with preventDefault(), so we need to add pasted text to content manually. */
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "html-checkboxes",
|
||||
"name": "HTML checkboxes",
|
||||
"version": "1.1.2",
|
||||
"version": "1.1.1",
|
||||
"minAppVersion": "1.1.0",
|
||||
"description": "Allows to quickly add HTML checkboxes to your notes and makes them clickable.",
|
||||
"author": "Anareaty",
|
||||
|
|
|
|||
Loading…
Reference in a new issue