예제 #1
0
        public async override Task<bool> InitializeAsync(Framework.Interfaces.ICore core)
        {
            var p = new PluginSettings(core);

            AddAction(ACTION_SHOW);

            core.LanguageItems.Add(new Framework.Data.LanguageItem(HtmlEditorForm.STR_TITLE));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(HtmlEditorForm.STR_CKEDITORONLINE));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(HtmlEditorForm.STR_COPYTOCLIPBOARD));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(HtmlEditorForm.STR_EDITOR));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(HtmlEditorForm.STR_HTML));

            return await base.InitializeAsync(core);
        }
예제 #2
0
 public PluginSettings(ICore core)
 {
     _uniqueInstance = this;
     _core = core;
 }