CKeditor with upload |
@ChicagoPhil
I think, the concrete implementation is lazy. I see this area in a bit more complicated way: The online editor has to be configured form the PHP side with special configuration files (.php), it should have different configuration profiles: 'admin', 'user', or whatever else you want. The configuration profiles should manage the following aspects: the buttons of the editor that are visible and their placement; whether a file manager is enabled or not; the upload directory (or directories?); the allowed file types for uploading; the allowed tags - for this kind of filtration HTMLPurifier can be used. So, if you have these different profiles, you can allow site managers to embed images and other stuff (yt video, etc.) within the created text. For ordinary users only formatted text could be allowed, without images and other embedded stuff, and at your choice, without links. At the end, a special helper function is needed for placing easily the editor with desired configuration within a form. IMO, the link you posted does not merit attention, there is no added value there. |
Messages In This Thread |
CKeditor with upload - by ChicagoPhil - 05-06-2016, 12:16 AM
RE: CKeditor with upload - by PaulD - 05-06-2016, 08:51 AM
RE: CKeditor with upload - by ivantcholakov - 05-06-2016, 09:53 AM
RE: CKeditor with upload - by cartalot - 05-06-2016, 12:20 PM
RE: CKeditor with upload - by InsiteFX - 05-06-2016, 01:20 PM
RE: CKeditor with upload - by ChicagoPhil - 05-07-2016, 09:16 PM
RE: CKeditor with upload - by Wouter60 - 05-08-2016, 04:13 AM
RE: CKeditor with upload - by InsiteFX - 05-08-2016, 04:48 AM
RE: CKeditor with upload - by Wouter60 - 05-08-2016, 05:21 AM
|