From d2cbfb28bdcc82e14a483ebf4311f11d99c1d294 Mon Sep 17 00:00:00 2001 From: Halil ibrahim Kalkan Date: Thu, 14 Jun 2018 16:32:35 +0300 Subject: [PATCH] Added tui-editor standard nmp package. --- npm/packs/tui-editor/abp.resourcemapping.js | 11 +++++++++++ npm/packs/tui-editor/package.json | 11 +++++++++++ .../MarkdownIt/MarkdownItScriptContributor.cs | 2 +- 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 npm/packs/tui-editor/abp.resourcemapping.js create mode 100644 npm/packs/tui-editor/package.json diff --git a/npm/packs/tui-editor/abp.resourcemapping.js b/npm/packs/tui-editor/abp.resourcemapping.js new file mode 100644 index 0000000000..2e6f3dbcf2 --- /dev/null +++ b/npm/packs/tui-editor/abp.resourcemapping.js @@ -0,0 +1,11 @@ +module.exports = { + imports: [ + "../jquery/abp.resourcemapping.js" + ], + mappings: { + "@node_modules/to-mark/dist/to-mark.min.js": "@libs/to-mark/", + "@node_modules/tui-code-snippet/dist/tui-code-snippet.min.js": "@libs/tui-code-snippet/", + "@node_modules/squire-rte/squire.js": "@libs/squire-rte/", + "@node_modules/tui-editor/dist/*.*": "@libs/tui-editor/" + } +} \ No newline at end of file diff --git a/npm/packs/tui-editor/package.json b/npm/packs/tui-editor/package.json new file mode 100644 index 0000000000..b42cee70b9 --- /dev/null +++ b/npm/packs/tui-editor/package.json @@ -0,0 +1,11 @@ +{ + "version": "0.3.1", + "name": "@abp/tui-editor", + "publishConfig": { + "access": "public" + }, + "dependencies": { + "@abp/jquery": "^0.3.1", + "tui-editor": "^1.2.2" + } +} diff --git a/src/Volo.Abp.AspNetCore.Mvc.UI.Packages/Volo/Abp/AspNetCore/Mvc/UI/Packages/MarkdownIt/MarkdownItScriptContributor.cs b/src/Volo.Abp.AspNetCore.Mvc.UI.Packages/Volo/Abp/AspNetCore/Mvc/UI/Packages/MarkdownIt/MarkdownItScriptContributor.cs index ffa12e7fa1..609f74b9b6 100644 --- a/src/Volo.Abp.AspNetCore.Mvc.UI.Packages/Volo/Abp/AspNetCore/Mvc/UI/Packages/MarkdownIt/MarkdownItScriptContributor.cs +++ b/src/Volo.Abp.AspNetCore.Mvc.UI.Packages/Volo/Abp/AspNetCore/Mvc/UI/Packages/MarkdownIt/MarkdownItScriptContributor.cs @@ -12,4 +12,4 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Packages.MarkdownIt context.Files.Add("/libs/markdown-it/markdown-it.min.js"); } } -} +} \ No newline at end of file