mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Added emoji picker to card description edit and card comment edit.
Removed Summernote wysiwyg editor, package-lock.json etc. Thanks to xet7 !
This commit is contained in:
parent
3ddfe7c1fd
commit
84fde1ecfc
9 changed files with 13 additions and 15811 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -32,3 +32,4 @@ ehthumbs.db
|
||||||
.eslintcache
|
.eslintcache
|
||||||
.meteor/local
|
.meteor/local
|
||||||
.devcontainer/docker-compose.extend.yml
|
.devcontainer/docker-compose.extend.yml
|
||||||
|
package-lock.json
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,6 @@ templates:tabs
|
||||||
verron:autosize
|
verron:autosize
|
||||||
simple:json-routes
|
simple:json-routes
|
||||||
rajit:bootstrap3-datepicker
|
rajit:bootstrap3-datepicker
|
||||||
shell-server@0.5.0
|
|
||||||
simple:rest-accounts-password
|
simple:rest-accounts-password
|
||||||
useraccounts:core
|
useraccounts:core
|
||||||
email@2.0.0
|
email@2.0.0
|
||||||
|
|
@ -90,7 +89,6 @@ meteorhacks:aggregate@1.3.0
|
||||||
wekan-markdown
|
wekan-markdown
|
||||||
konecty:mongo-counter
|
konecty:mongo-counter
|
||||||
percolate:synced-cron
|
percolate:synced-cron
|
||||||
easylogic:summernote
|
|
||||||
cfs:filesystem
|
cfs:filesystem
|
||||||
tmeasday:check-npm-versions
|
tmeasday:check-npm-versions
|
||||||
steffo:meteor-accounts-saml
|
steffo:meteor-accounts-saml
|
||||||
|
|
@ -145,3 +143,4 @@ rajit:bootstrap3-datepicker-zh-tw
|
||||||
staringatlights:fast-render
|
staringatlights:fast-render
|
||||||
spacebars
|
spacebars
|
||||||
jkuester:http
|
jkuester:http
|
||||||
|
georgemccann:meteor-emoji-picker
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,6 @@ ddp-server@2.3.2
|
||||||
deps@1.0.12
|
deps@1.0.12
|
||||||
diff-sequence@1.1.1
|
diff-sequence@1.1.1
|
||||||
dynamic-import@0.6.0
|
dynamic-import@0.6.0
|
||||||
easylogic:summernote@0.8.8
|
|
||||||
ecmascript@0.15.0
|
ecmascript@0.15.0
|
||||||
ecmascript-runtime@0.7.0
|
ecmascript-runtime@0.7.0
|
||||||
ecmascript-runtime-client@0.11.0
|
ecmascript-runtime-client@0.11.0
|
||||||
|
|
@ -68,6 +67,7 @@ fastclick@1.0.13
|
||||||
fetch@0.1.1
|
fetch@0.1.1
|
||||||
fortawesome:fontawesome@4.7.0
|
fortawesome:fontawesome@4.7.0
|
||||||
geojson-utils@1.0.10
|
geojson-utils@1.0.10
|
||||||
|
georgemccann:meteor-emoji-picker@0.1.74
|
||||||
horka:swipebox@1.0.2
|
horka:swipebox@1.0.2
|
||||||
hot-code-push@1.0.4
|
hot-code-push@1.0.4
|
||||||
html-tools@1.0.11
|
html-tools@1.0.11
|
||||||
|
|
@ -203,7 +203,6 @@ server-render@0.3.1
|
||||||
service-configuration@1.0.11
|
service-configuration@1.0.11
|
||||||
session@1.2.0
|
session@1.2.0
|
||||||
sha@1.0.9
|
sha@1.0.9
|
||||||
shell-server@0.5.0
|
|
||||||
simple:authenticate-user-by-token@1.0.1
|
simple:authenticate-user-by-token@1.0.1
|
||||||
simple:json-routes@2.1.0
|
simple:json-routes@2.1.0
|
||||||
simple:rest-accounts-password@1.1.2
|
simple:rest-accounts-password@1.1.2
|
||||||
|
|
@ -227,7 +226,6 @@ templating-runtime@1.3.2
|
||||||
templating-tools@1.1.2
|
templating-tools@1.1.2
|
||||||
tmeasday:check-npm-versions@0.3.2
|
tmeasday:check-npm-versions@0.3.2
|
||||||
tracker@1.2.0
|
tracker@1.2.0
|
||||||
twbs:bootstrap@3.3.6
|
|
||||||
ui@1.0.13
|
ui@1.0.13
|
||||||
underscore@1.0.10
|
underscore@1.0.10
|
||||||
url@1.3.1
|
url@1.3.1
|
||||||
|
|
|
||||||
1
.npmrc
Normal file
1
.npmrc
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
package-lock=false
|
||||||
|
|
@ -3,5 +3,5 @@ template(name="descriptionForm")
|
||||||
.new-description.js-new-description(
|
.new-description.js-new-description(
|
||||||
class="{{#if descriptionFormIsOpen}}is-open{{/if}}")
|
class="{{#if descriptionFormIsOpen}}is-open{{/if}}")
|
||||||
form.js-new-description-form
|
form.js-new-description-form
|
||||||
+editor(class="js-new-description-input" data-meteor-emoji-large="true" autofocus="autofocus")
|
+editor(class="js-new-description-input" autofocus="autofocus")
|
||||||
| {{getUnsavedValue 'cardDescription' _id getDescription}}
|
| {{getUnsavedValue 'cardDescription' _id getDescription}}
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@ template(name="editor")
|
||||||
class="{{class}}"
|
class="{{class}}"
|
||||||
id=id
|
id=id
|
||||||
autofocus=autofocus
|
autofocus=autofocus
|
||||||
|
data-meteor-emoji="true"
|
||||||
placeholder="{{_ 'comment-placeholder'}}")
|
placeholder="{{_ 'comment-placeholder'}}")
|
||||||
+Template.contentBlock
|
+Template.contentBlock
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
Template.editor.onRendered(() => {
|
Template.editor.onRendered(() => {
|
||||||
|
new MeteorEmoji();
|
||||||
const textareaSelector = 'textarea';
|
const textareaSelector = 'textarea';
|
||||||
const mentions = [
|
const mentions = [
|
||||||
// User mentions
|
// User mentions
|
||||||
|
|
@ -99,7 +100,9 @@ Template.editor.onRendered(() => {
|
||||||
if (inputs.length === 0) {
|
if (inputs.length === 0) {
|
||||||
// only enable richereditor to new comment or edit comment no others
|
// only enable richereditor to new comment or edit comment no others
|
||||||
enableTextarea();
|
enableTextarea();
|
||||||
} else {
|
}
|
||||||
|
/*
|
||||||
|
else {
|
||||||
const placeholder = inputs.attr('placeholder') || '';
|
const placeholder = inputs.attr('placeholder') || '';
|
||||||
const mSummernotes = [];
|
const mSummernotes = [];
|
||||||
const getSummernote = function(input) {
|
const getSummernote = function(input) {
|
||||||
|
|
@ -258,6 +261,7 @@ Template.editor.onRendered(() => {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
} else {
|
} else {
|
||||||
enableTextarea();
|
enableTextarea();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
15782
package-lock.json
generated
15782
package-lock.json
generated
File diff suppressed because it is too large
Load diff
24
package.json
24
package.json
|
|
@ -4,21 +4,16 @@
|
||||||
"description": "Open-Source kanban",
|
"description": "Open-Source kanban",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "eslint --cache --ext .js --ignore-path .eslintignore .",
|
|
||||||
"lint:eslint:fix": "eslint --ext .js --ignore-path .eslintignore --fix .",
|
|
||||||
"lint:staged": "lint-staged",
|
"lint:staged": "lint-staged",
|
||||||
"prettify": "prettier --write '**/*.js' '**/*.jsx'",
|
"prettify": "prettier --write '**/*.js' '**/*.jsx'"
|
||||||
"test": "npm run lint"
|
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"*.js": [
|
"*.js": [
|
||||||
"meteor npm run prettify",
|
"meteor npm run prettify",
|
||||||
"meteor npm run lint:eslint:fix",
|
|
||||||
"git add --force"
|
"git add --force"
|
||||||
],
|
],
|
||||||
"*.jsx": [
|
"*.jsx": [
|
||||||
"meteor npm run prettify",
|
"meteor npm run prettify",
|
||||||
"meteor npm run lint:eslint:fix",
|
|
||||||
"git add --force"
|
"git add --force"
|
||||||
],
|
],
|
||||||
"*.json": [
|
"*.json": [
|
||||||
|
|
@ -27,9 +22,6 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"pre-commit": "lint:staged",
|
"pre-commit": "lint:staged",
|
||||||
"eslintConfig": {
|
|
||||||
"extends": "@meteorjs/eslint-config-meteor"
|
|
||||||
},
|
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/wekan/wekan.git"
|
"url": "git+https://github.com/wekan/wekan.git"
|
||||||
|
|
@ -40,23 +32,14 @@
|
||||||
},
|
},
|
||||||
"homepage": "https://wekan.github.io",
|
"homepage": "https://wekan.github.io",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint": "^7.19.0",
|
|
||||||
"eslint-config-meteor": "0.0.9",
|
|
||||||
"eslint-config-prettier": "^3.6.0",
|
|
||||||
"eslint-import-resolver-meteor": "^0.4.0",
|
|
||||||
"eslint-plugin-import": "^2.22.1",
|
|
||||||
"eslint-plugin-meteor": "^7.2.2",
|
|
||||||
"eslint-plugin-prettier": "^3.3.1",
|
|
||||||
"lint-staged": "^7.3.0",
|
"lint-staged": "^7.3.0",
|
||||||
"pre-commit": "^1.2.2",
|
"pre-commit": "^1.2.2",
|
||||||
"prettier": "^1.19.1",
|
"prettier": "^1.19.1"
|
||||||
"prettier-eslint": "^9.0.2"
|
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/core": "^7.12.10",
|
"@babel/core": "^7.12.10",
|
||||||
"@babel/eslint-parser": "^7.12.13",
|
"@babel/eslint-parser": "^7.12.13",
|
||||||
"@babel/runtime": "^7.12.5",
|
"@babel/runtime": "^7.12.5",
|
||||||
"@typescript-eslint/parser": "^4.14.2",
|
|
||||||
"ajv": "^7.0.4",
|
"ajv": "^7.0.4",
|
||||||
"babel-runtime": "^6.26.0",
|
"babel-runtime": "^6.26.0",
|
||||||
"bcrypt": "^5.0.0",
|
"bcrypt": "^5.0.0",
|
||||||
|
|
@ -78,9 +61,6 @@
|
||||||
"page": "^1.11.5",
|
"page": "^1.11.5",
|
||||||
"papaparse": "^5.3.0",
|
"papaparse": "^5.3.0",
|
||||||
"qs": "^6.9.6",
|
"qs": "^6.9.6",
|
||||||
"source-map-resolve": "^0.6.0",
|
|
||||||
"source-map-support": "^0.5.19",
|
|
||||||
"typescript": "^4.1.3",
|
|
||||||
"xss": "^1.0.8"
|
"xss": "^1.0.8"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue