fix: advanced markdown deprecation handling

This commit is contained in:
Mo
2022-06-28 09:51:41 -05:00
parent f2ae9e8bdf
commit bb43134e94
21 changed files with 8391 additions and 12 deletions

View File

@@ -44,7 +44,7 @@ const Editors = [
const DeprecatedEditors = [
{
identifier: 'org.standardnotes.advanced-markdown-editor',
path: 'Editors/org.standardnotes.advanced-markdown-editor',
path: 'Deprecated/org.standardnotes.advanced-markdown-editor',
static_files: [...BaseEditorStaticFiles],
},
{

View File

@@ -1,7 +1 @@
node_modules
dist
.DS_Store
.sass-cache
ext.json

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
/*! @license DOMPurify 2.3.8 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.3.8/LICENSE */

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 434 KiB

View File

@@ -0,0 +1 @@
<!doctype html><html><head><base target="_blank"><meta charset="UTF-8"><meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1"><script src="lib/component-relay.js"></script><script src="vendor/highlightjs/highlightjs.js"></script><link rel="stylesheet" media="all" href="vendor/easymd/easymde.css"><script src="vendor/easymd/easymd.js"></script><link rel="stylesheet" media="all" href="stylekit.css"><title>Markdown Pro</title><script defer="defer" src="dist.js"></script><link href="dist.css" rel="stylesheet"></head><body class="sn-component" id="sn-advanced-markdown-editor"><textarea dir="auto" id="editor" hidden></textarea></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,6 @@
/**
* easymde v2.16.1
* Copyright Jeroen Akkerman
* @link https://github.com/ionaru/easy-markdown-editor
* @license MIT
*/

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
/*! highlight.js v9.16.2 | BSD3 License | git.io/hljslicense */

View File

@@ -11,11 +11,11 @@
},
"scripts": {
"start": "webpack serve --config webpack.dev.js --progress --hot",
"components:compile": "webpack --config webpack.prod.js",
"skip:lint": "eslint src --ext .js",
"lint:fix": "eslint src --ext .js --fix",
"test": "echo \"Error: no test specified\" && exit 0",
"format": "prettier --write 'src/**/*.{html,css,scss,js,jsx,ts,tsx,json}' README.md"
"deprecated:compile": "webpack --config webpack.prod.js",
"deprecated:lint": "eslint src --ext .js",
"deprecated:lint:fix": "eslint src --ext .js --fix",
"deprecated:test": "echo \"Error: no test specified\" && exit 0",
"deprecated:format": "prettier --write 'src/**/*.{html,css,scss,js,jsx,ts,tsx,json}' README.md"
},
"devDependencies": {
"@babel/cli": "^7.13.10",