mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Remove legacy redact function in favor of tinymce integration redact
This commit is contained in:
17
js/app.js
17
js/app.js
@@ -320,23 +320,6 @@ $(document).ready(function() {
|
||||
}
|
||||
});
|
||||
|
||||
// Initialize TinyMCE editor with only a redact button
|
||||
tinymce.init({
|
||||
selector: '.tinymceTicketRedact',
|
||||
browser_spellcheck: false,
|
||||
contextmenu: false,
|
||||
resize: true,
|
||||
min_height: 300,
|
||||
max_height: 500,
|
||||
promotion: false,
|
||||
branding: false,
|
||||
menubar: false,
|
||||
statusbar: false,
|
||||
license_key: 'gpl',
|
||||
readonly: true,
|
||||
toolbar: '',
|
||||
});
|
||||
|
||||
tinymce.init({
|
||||
selector: '.tinymceRedact', // Your selector
|
||||
browser_spellcheck: true,
|
||||
|
||||
Reference in New Issue
Block a user