mirror of
https://github.com/wekan/wekan.git
synced 2025-12-23 19:00:12 +01:00
Added back Summernote editor. Removed emoji picker.
Thanks to ryanMushy and xet7 !
Related 84fde1ecfc (commitcomment-48956373)
This commit is contained in:
parent
b9a4ae654e
commit
47ecc654b8
4 changed files with 4 additions and 8 deletions
|
|
@ -1,5 +1,4 @@
|
|||
Template.editor.onRendered(() => {
|
||||
new MeteorEmoji();
|
||||
const textareaSelector = 'textarea';
|
||||
const mentions = [
|
||||
// User mentions
|
||||
|
|
@ -100,9 +99,7 @@ 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) {
|
||||
|
|
@ -261,7 +258,6 @@ Template.editor.onRendered(() => {
|
|||
});
|
||||
});
|
||||
}
|
||||
*/
|
||||
} else {
|
||||
enableTextarea();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue