Can a text editor be integrated into the CodeIgniter Libraries? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Can a text editor be integrated into the CodeIgniter Libraries? (/showthread.php?tid=74906) Pages:
1
2
|
RE: Can a text editor be integrated into the CodeIgniter Libraries? - christaliise - 12-09-2019 (12-09-2019, 02:22 AM)qury Wrote: Hi, No, your first paragraph is not correct. Everything is done in PHP & HTML. I have created a simple textarea box from which users can send information. That works good and if the user inserts the paragraph symbol where there is a carriage return it works the way I want but it is not good practice to allow users to insert coding symbols, in fact I want to forbid that practice. I need some PHP coding that will pick up the carriage return, and replace it with the paragraph symbol. Obviously the snippet of coding I put in this post doesn't pick up the carriage return. The text editor I first mentioned in this post will do that but PHP does not provide for the integration of other programs, which will probably include elasticsearch and logstash. RE: Can a text editor be integrated into the CodeIgniter Libraries? - qury - 12-09-2019 you could implement a WYSIWYG editor for your users like summernote, ckeditor, etc in that case your users would generate html code for you. Also you could save their input in a database (even sqlite if you want a file based approach) and sort based on entry date or entry id. RE: Can a text editor be integrated into the CodeIgniter Libraries? - christaliise - 12-10-2019 (12-09-2019, 10:14 AM)qury Wrote: you could implement a WYSIWYG editor for your users like summernote, ckeditor, etc in that case your users would generate html code for you. OK, thanks. One of those editors may be my answer. I need to do a lot of study. I'm also going to look into more deeply jreklund's suggestion of file_get_contents and file_put_contents. |