Skip to content

Commit

Permalink
feat: add classic editors
Browse files Browse the repository at this point in the history
  • Loading branch information
moughxyz committed Nov 18, 2023
1 parent a3f7e53 commit 96a412a
Show file tree
Hide file tree
Showing 14 changed files with 80 additions and 21 deletions.
16 changes: 16 additions & 0 deletions cdn/plugins.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,21 @@
{
"identifier": "org.standardnotes.legacy.file-safe",
"staticFiles": ["dist", "package.json"]
},
{
"identifier": "org.standardnotes.advanced-markdown-editor",
"staticFiles": ["index.html", "dist", "build", "package.json"]
},
{
"identifier": "org.standardnotes.plus-editor",
"staticFiles": ["index.html", "dist", "build", "package.json"]
},
{
"identifier": "org.standardnotes.simple-task-editor",
"staticFiles": ["index.html", "dist", "build", "package.json"]
},
{
"identifier": "org.standardnotes.code-editor",
"staticFiles": ["index.html", "dist", "build", "package.json"]
}
]
1 change: 1 addition & 0 deletions cdn/scripts/Package.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ const packageFeature = async ({ feature, noZip }) => {
download_url: `${CdnInfoJson.host}/zips/${feature.identifier}.zip`,
latest_url: `${CdnInfoJson.host}/entries/${feature.identifier}.json`,
publisher: packageJsonFile.author,
description: packageJsonFile.description,
...checksum,
}

Expand Down
3 changes: 2 additions & 1 deletion packages/com.sncommunity.advanced-checklist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"spellcheckControl": true,
"note_type": "task",
"main": "build/index.html",
"file_type": "json"
"file_type": "json",
"showInGallery": true
},
"files": [
"build",
Expand Down
4 changes: 3 additions & 1 deletion packages/com.sncommunity.bold-editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"access": "public"
},
"version": "1.6.4",
"description": "A simple and peaceful rich editor that helps you write and think clearly.",
"main": "dist/dist.js",
"author": "Standard Notes Retired",
"sn": {
Expand All @@ -13,7 +14,8 @@
"spellcheckControl": true,
"note_type": "rich-text",
"main": "dist/index.html",
"file_type": "html"
"file_type": "html",
"showInGallery": false
},
"scripts": {
"lint": "eslint app/ --ext .js",
Expand Down
3 changes: 2 additions & 1 deletion packages/com.sncommunity.dracula-theme/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"name": "Dracula",
"content_type": "SN|Theme",
"area": "themes",
"main": "dist/dist.css"
"main": "dist/dist.css",
"showInGallery": true
},
"scripts": {
"build": "webpack --entry ./src/main.scss --config ../theme.webpack.config.js",
Expand Down
4 changes: 3 additions & 1 deletion packages/com.sncommunity.markdown-basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"version": "1.6.2",
"main": "dist/dist.js",
"author": "Standard Notes Retired",
"description": "A Markdown editor with dynamic split-pane preview.",
"scripts": {
"lint": "eslint --cache --ext .jsx,.js --format=node_modules/eslint-formatter-pretty .",
"lint:fix": "eslint --cache --ext .jsx,.js --format=node_modules/eslint-formatter-pretty .",
Expand All @@ -21,7 +22,8 @@
"spellcheckControl": true,
"note_type": "markdown",
"main": "dist/index.html",
"file_type": "txt"
"file_type": "md",
"showInGallery": true
},
"devDependencies": {
"@babel/cli": "^7.10.5",
Expand Down
5 changes: 3 additions & 2 deletions packages/com.sncommunity.markdown-math/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"access": "public"
},
"version": "1.4.2",
"description": "",
"description": "A beautiful split-pane Markdown editor with synced-scroll, LaTeX support, and colorful syntax.",
"main": "index.js",
"scripts": {
"build": "grunt",
Expand All @@ -18,7 +18,8 @@
"spellcheckControl": true,
"note_type": "markdown",
"main": "index.html",
"file_type": "txt"
"file_type": "txt",
"showInGallery": true
},
"devDependencies": {
"@babel/cli": "^7.7.7",
Expand Down
7 changes: 4 additions & 3 deletions packages/com.sncommunity.markdown-visual/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"name": "@standardnotes/markdown-visual",
"version": "1.3.3",
"author": "Standard Notes Retired",
"description": "A lightweight WYSIWYG markdown editor for Standard Notes, derived from Milkdown.",
"description": "A WYSIWYG-style Markdown editor that renders Markdown in preview-mode while you type without displaying any syntax.",
"keywords": [
"Standard Notes",
"Standard Notes Extensions"
"Standard Notes Plugins"
],
"sn": {
"name": "Markdown Visual",
Expand All @@ -14,7 +14,8 @@
"area": "editor-editor",
"spellcheckControl": true,
"note_type": "markdown",
"file_type": "txt"
"file_type": "md",
"showInGallery": true
},
"publishConfig": {
"access": "public"
Expand Down
5 changes: 3 additions & 2 deletions packages/com.sncommunity.minimal-markdown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"access": "public"
},
"version": "1.3.0",
"description": "A minimal Markdown editor for Standard Notes.",
"description": "A minimal Markdown editor with live rendering and in-text search via Ctrl/Cmd + F",
"author": "Standard Notes Retired",
"main": "dist/dist.js",
"sn": {
Expand All @@ -14,7 +14,8 @@
"area": "editor-editor",
"spellcheckControl": true,
"note_type": "markdown",
"file_type": "txt"
"file_type": "md",
"showInGallery": true
},
"scripts": {
"build": "grunt",
Expand Down
11 changes: 9 additions & 2 deletions packages/org.standardnotes.advanced-markdown-editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,19 @@
"publishConfig": {
"access": "public"
},
"description": "A Standard Notes derived editor that offers full support for Markdown editing.",
"description": "A fully featured Markdown editor that supports live preview, a styling toolbar, and split pane support.",
"main": "dist/dist.js",
"author": "Standard Notes",
"license": "AGPL-3.0",
"sn": {
"main": "dist/index.html"
"name": "Markdown",
"content_type": "SN|Component",
"main": "dist/index.html",
"area": "editor-editor",
"spellcheckControl": true,
"note_type": "markdown",
"file_type": "md",
"showInGallery": true
},
"scripts": {
"start": "webpack serve --config webpack.dev.js --progress --hot",
Expand Down
14 changes: 12 additions & 2 deletions packages/org.standardnotes.code-editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"publishConfig": {
"access": "public"
},
"description": "A code editor for Standard Notes",
"description": "Syntax highlighting and convenient keyboard shortcuts for over 120 programming languages. Ideal for code snippets and procedures.",
"main": "dist/main.js",
"author": "Standard Notes",
"author": "Standard Notes Classic",
"license": "AGPL-3.0",
"scripts": {
"start": "http-server . --cors -p8001 & webpack --progress --config webpack.dev.js",
Expand All @@ -16,6 +16,16 @@
"clean": "rm -rf ./vendor",
"test": "echo \"Error: no test specified\" && exit 0"
},
"sn": {
"name": "Code",
"content_type": "SN|Component",
"main": "index.html",
"area": "editor-editor",
"spellcheckControl": true,
"note_type": "code",
"file_type": "txt",
"showInGallery": true
},
"dependencies": {
"@standardnotes/component-relay": "standardnotes/component-relay#839ff5db9bc92db9d42cad8d202ddc4df729597d"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/org.standardnotes.legacy.file-safe/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"name": "FileSafe Legacy",
"content_type": "SN|Component",
"area": "editor-stack",
"main": "dist/index.html"
"main": "dist/index.html",
"showInGallery": false
},
"devDependencies": {
"@babel/core": "^7.17.2",
Expand Down
13 changes: 10 additions & 3 deletions packages/org.standardnotes.plus-editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"publishConfig": {
"access": "public"
},
"description": "A rich text editor for Standard Notes",
"description": " 'From highlighting to custom font sizes and colors, to tables and lists, this editor is perfect for crafting any document.",
"main": "dist/dist.js",
"author": "Standard Notes",
"author": "Standard Notes Classic",
"scripts": {
"skip:lint": "eslint --ext .js .",
"lint:fix": "eslint --ext .js . --fix",
Expand All @@ -15,7 +15,14 @@
"test": "echo \"Error: no test specified\" && exit 0"
},
"sn": {
"main": "dist/index.html"
"name": "Rich Text",
"content_type": "SN|Component",
"main": "dist/index.html",
"area": "editor-editor",
"spellcheckControl": true,
"note_type": "rich-text",
"file_type": "html",
"showInGallery": true
},
"dependencies": {
"@standardnotes/component-relay": "standardnotes/component-relay#839ff5db9bc92db9d42cad8d202ddc4df729597d"
Expand Down
12 changes: 10 additions & 2 deletions packages/org.standardnotes.simple-task-editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
"publishConfig": {
"access": "public"
},
"author": "Standard Notes",
"author": "Standard Notes Classic",
"main": "dist/dist.js",
"description": "A great way to manage short-term and long-term to-do's. You can mark tasks as completed, change their order, and edit the text naturally in place.",
"scripts": {
"build": "webpack --config webpack.prod.js",
"start": "webpack serve --config webpack.dev.js --progress --hot",
Expand All @@ -14,7 +15,14 @@
"test": "echo \"Error: no test specified\" && exit 0"
},
"sn": {
"main": "dist/index.html"
"name": "Checklist",
"content_type": "SN|Component",
"main": "dist/index.html",
"area": "editor-editor",
"spellcheckControl": true,
"note_type": "task",
"file_type": "md",
"showInGallery": true
},
"dependencies": {
"@standardnotes/component-relay": "standardnotes/component-relay#839ff5db9bc92db9d42cad8d202ddc4df729597d"
Expand Down

0 comments on commit 96a412a

Please sign in to comment.