chore: fix incorrect comment in date/time

This commit is contained in:
SiriusXT 2025-06-07 16:49:10 +08:00
parent 941d0d45f8
commit e70b0d47c9

View File

@ -14,7 +14,7 @@ export default class InsertDateTimePlugin extends Plugin {
tooltip: true tooltip: true
} ); } );
// enable internal link only if the editor is not read only // enable only if the editor is not read only
view.bind('isEnabled').to(editor, 'isReadOnly', isReadOnly => !isReadOnly); view.bind('isEnabled').to(editor, 'isReadOnly', isReadOnly => !isReadOnly);
view.on('execute', () => { view.on('execute', () => {