mirror of
https://github.com/wekan/wekan.git
synced 2025-12-18 00:10: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,4 +1,5 @@
|
|||
Template.editor.onRendered(() => {
|
||||
new MeteorEmoji();
|
||||
const textareaSelector = 'textarea';
|
||||
const mentions = [
|
||||
// User mentions
|
||||
|
|
@ -99,7 +100,9 @@ Template.editor.onRendered(() => {
|
|||
if (inputs.length === 0) {
|
||||
// only enable richereditor to new comment or edit comment no others
|
||||
enableTextarea();
|
||||
} else {
|
||||
}
|
||||
/*
|
||||
else {
|
||||
const placeholder = inputs.attr('placeholder') || '';
|
||||
const mSummernotes = [];
|
||||
const getSummernote = function(input) {
|
||||
|
|
@ -258,6 +261,7 @@ Template.editor.onRendered(() => {
|
|||
});
|
||||
});
|
||||
}
|
||||
*/
|
||||
} else {
|
||||
enableTextarea();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue