1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-18 12:31:17 +02:00

Remove/comment-out some old code referring to TinyMCE 3.x in InputfieldRepeater.js

This commit is contained in:
Ryan Cramer
2022-11-04 14:34:01 -04:00
parent 715f029657
commit b4124435e4
2 changed files with 5 additions and 1 deletions

View File

@@ -1090,9 +1090,11 @@ function InputfieldRepeater($) {
});
// TinyMCE instances don't like to be dragged, so we disable them temporarily
/*
ui.item.find('.InputfieldTinyMCE textarea').each(function() {
tinyMCE.execCommand('mceRemoveControl', false, $(this).attr('id'));
});
*/
if(familyFriendly && maxDepth > 0) {
// remember and hide depth children
@@ -1140,9 +1142,11 @@ function InputfieldRepeater($) {
});
// Re-enable the TinyMCE instances
/*
ui.item.find('.InputfieldTinyMCE textarea').each(function() {
tinyMCE.execCommand('mceAddControl', false, $(this).attr('id'));
});
*/
$(this).closest('.InputfieldRepeater').trigger('sorted', [ ui.item ]);
},

File diff suppressed because one or more lines are too long