PDA

View Full Version : textarea increase size > 3000 and add all editor options ?



Pete Young
December 15, 2018, 11:04 AM
textarea increase size > 3000 and add all editor options ? how would one do these things please ?

Rudi
December 17, 2018, 03:13 AM
Hello,

You can find it in includes > classes > admin rlFields.class.php > createField() and editField()

Pete Young
December 17, 2018, 09:50 AM
Thanks Rudi, was there a way to show all editor options available ?

Pete

Rudi
December 17, 2018, 10:51 AM
To extend html editor tools you need to buy ckeditor licence

Pete Young
December 17, 2018, 11:46 AM
who do I buy that from and where ? please

Can you also explain why we have all editor options in news and faq, but then why we have to pay to have all options in listings ? I am just a little confused ?

thanks Rudi

Rudi
December 17, 2018, 07:37 PM
exactly,

sorry, I confused it with ckfinder

you should go to ftp > libs > javascript > system.lib.js > this.htmlEditor

change:


toolbar: [
['Source', '-', 'Bold', 'Italic', 'Underline', 'Strike'],
['Link', 'Unlink', 'Anchor'],
['Undo', 'Redo', '-', 'Find', 'Replace', '-', 'SelectAll', 'RemoveFormat'],
['TextColor', 'BGColor']
],


to:


toolbar: 'Basic',

Pete Young
December 17, 2018, 08:38 PM
ok thank you Rudi will try this tonight, Appreciated Pete


Edit, all suggestions worked thankyou, the max textarea I could wind up to was 9999, so set the new settings at 10K but still better than the 3k thanks.