allow to upload files from the ckeditor

while here:
- update ckeditor to 4.21.0
- add a Sourcedialog plugin to the ckeditor
This commit is contained in:
2023-04-09 14:10:21 +02:00
parent 6a2da642b0
commit a49b10ed2d
5 changed files with 87 additions and 39 deletions

View File

@@ -5,7 +5,7 @@
*/
/*
* Copyright (c) 2010-2022, Tomasz Sowa
* Copyright (c) 2010-2023, Tomasz Sowa
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -61,6 +61,7 @@ private:
std::wstring path;
bool is_jquery_upload;
bool is_ckeditor_upload;
magic_t magic_cookie;
pt::Space files;
@@ -75,7 +76,8 @@ private:
void UploadSingle();
void ResizeImage(Item & item);
void CreateThumb(Item & item);
void CreateAnswer();
void CreateJqueryUploadAnswer();
void CreateCkeditorUploadAnswer();
void InitMagicLibIfNeeded();
void CloseMagicLib();