mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-20 13:34:37 +01:00
use summernote instead
This commit is contained in:
parent
ca28c34be0
commit
bffc2e70c1
12 changed files with 7591 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>netcoreapp2.1</TargetFramework>
|
||||
|
@ -127,6 +127,7 @@
|
|||
<Folder Include="Build\" />
|
||||
<Folder Include="wwwroot\vendor\clipboard.js\" />
|
||||
<Folder Include="wwwroot\vendor\highlightjs\" />
|
||||
<Folder Include="wwwroot\vendor\summernote" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
@ -101,7 +101,7 @@
|
|||
"outputFileName": "wwwroot/bundles/crowdfund-admin-bundle.min.js",
|
||||
"inputFiles": [
|
||||
"wwwroot/vendor/highlightjs/highlight.min.js",
|
||||
"wwwroot/vendor/richtext/jquery.richtext.min.js",
|
||||
"wwwroot/vendor/summernote/summernote-bs4.js",
|
||||
"wwwroot/vendor/flatpickr/flatpickr.js",
|
||||
"wwwroot/crowdfund-admin/**/*.js",
|
||||
"wwwroot/products/js/products.js",
|
||||
|
@ -112,7 +112,7 @@
|
|||
"outputFileName": "wwwroot/bundles/crowdfund-admin-bundle.min.css",
|
||||
"inputFiles": [
|
||||
"wwwroot/vendor/highlightjs/default.min.css",
|
||||
"wwwroot/vendor/richtext/richtext.min.css",
|
||||
"wwwroot/vendor/summernote/summernote-bs4.css",
|
||||
"wwwroot/vendor/flatpickr/flatpickr.min.css",
|
||||
"wwwroot/crowdfund-admin/**/*.js"
|
||||
]
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
hljs.initHighlightingOnLoad();
|
||||
$(document).ready(function() {
|
||||
$(".richtext").richText();
|
||||
|
||||
$(".richtext").summernote();
|
||||
$(".datetime").flatpickr({
|
||||
enableTime: true
|
||||
});
|
||||
|
|
|
@ -124,6 +124,13 @@ addLoadEvent(function (ev) {
|
|||
result.push(newItem);
|
||||
|
||||
}
|
||||
for (var i = 0; i < result.length; i++) {
|
||||
if(result.label.endsWith("LIGHTNINGLIKE")){
|
||||
result.label = result.label.substr(0,result.label.findIndex("LIGHTNINGLIKE"));
|
||||
result.lightning = true;
|
||||
}
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
},
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
BIN
BTCPayServer/wwwroot/vendor/summernote/font/summernote.eot
vendored
Normal file
BIN
BTCPayServer/wwwroot/vendor/summernote/font/summernote.eot
vendored
Normal file
Binary file not shown.
BIN
BTCPayServer/wwwroot/vendor/summernote/font/summernote.ttf
vendored
Normal file
BIN
BTCPayServer/wwwroot/vendor/summernote/font/summernote.ttf
vendored
Normal file
Binary file not shown.
BIN
BTCPayServer/wwwroot/vendor/summernote/font/summernote.woff
vendored
Normal file
BIN
BTCPayServer/wwwroot/vendor/summernote/font/summernote.woff
vendored
Normal file
Binary file not shown.
1
BTCPayServer/wwwroot/vendor/summernote/summernote-bs4.css
vendored
Normal file
1
BTCPayServer/wwwroot/vendor/summernote/summernote-bs4.css
vendored
Normal file
File diff suppressed because one or more lines are too long
7574
BTCPayServer/wwwroot/vendor/summernote/summernote-bs4.js
vendored
Normal file
7574
BTCPayServer/wwwroot/vendor/summernote/summernote-bs4.js
vendored
Normal file
File diff suppressed because it is too large
Load diff
3
BTCPayServer/wwwroot/vendor/summernote/summernote-bs4.min.js
vendored
Normal file
3
BTCPayServer/wwwroot/vendor/summernote/summernote-bs4.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue