added: a new editor: tinymce (function tinymce)

added: html filter can check orphans: "i", "a", "o" ... in a text


git-svn-id: svn://ttmath.org/publicrep/winix/trunk@607 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2010-06-20 22:47:24 +00:00
parent fe31e0e849
commit ff3c141138
16 changed files with 671 additions and 168 deletions

View File

@@ -68,7 +68,8 @@ Ezc::Pattern * p = 0;
{FUN_CKEDITOR, pat_fun_ckeditor},
{FUN_SUBJECT, pat_fun_subject},
{FUN_ADDUSER, pat_fun_adduser},
{FUN_CP, pat_fun_cp}
{FUN_CP, pat_fun_cp},
{FUN_TINYMCE, pat_fun_tinymce},
};
size_t i, len = sizeof(pat_name_tab)/sizeof(PatName);
@@ -463,7 +464,7 @@ void Templates::CreateFunctions()
functions.Insert("winix_err_code", winix_err_code);
functions.Insert("winix_is_err_in_locales", winix_is_err_in_locales);
functions.Insert("winix_err_msg_from_locales",winix_err_msg_from_locales);
functions.Insert("winix_content_full", winix_content_full);
plugin.Call(WINIX_TEMPLATES_CREATEFUNCTIONS, &functions);
}
@@ -524,6 +525,7 @@ using namespace TemplatesFunctions;
ReadFile(pat_fun_adduser, "fun_adduser.html");
ReadFile(pat_fun_subject, "fun_subject.html");
ReadFile(pat_fun_cp, "fun_cp.html");
ReadFile(pat_fun_tinymce, "fun_tinymce.html");
}