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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user