mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-20 06:03:20 +00:00
refactor(mail(js)): replace ckEditor directive by sgCkeditor component
This refactoring 1. simplifies updating the CKEditor source code; 2. allows many instances of the CKEditor on the same page; 3. fixes the cursor positioning on focus.
This commit is contained in:
@@ -203,11 +203,6 @@ static NSArray *infoKeys = nil;
|
||||
return [[ud mailComposeMessageType] isEqualToString: @"html"];
|
||||
}
|
||||
|
||||
- (NSString *) editorClass
|
||||
{
|
||||
return ([self isHTML]? @"ck-editor" : @"plain-text");
|
||||
}
|
||||
|
||||
- (NSString *) itemPriorityText
|
||||
{
|
||||
return [self labelForKey: [NSString stringWithFormat: @"%@", [item lowercaseString]]];
|
||||
|
||||
Reference in New Issue
Block a user