Need to add Textarea with Visual Editor |
Hello,
I don't know about PHP but I do so many experiments to fix it. So I found the code and implement it on my site and it's working perfectly. But have an issue. The code is for the input field and also user can add more input fields by pressing the + button. So I need a TextArea box only with the visual editor, no need for + button as well. Can you help me with this, please? Controller: Code: $objectives= array(); View: Code: <div class="divider" > </div> Add: Code: <div class="cv-section-title"> Model: Code: <?php
Its plain text editor and my developer quit the job on my project. So i am trying my self to do some stuff. So i shared the code which is working good. I need to know i how can make textarea instead of input field.
@xaibi,
You should be able to specify the field type that the editor is attached to somewhere in the javascript code that is on the page. That is the reason why I asked you specifically what was the name of the editor (i.e. https://stackoverflow.com/questions/1921...l-textarea ) used because it would make it easier to figure out how to configure it to work with a textarea.
Ok, i will check it and let you know, for a time being can you fix only textarea.
I did to make textarea and its working but if there is no data in textarea then I textarea get hide.
See screenshot: https://prnt.sc/pph5o3 (10-29-2019, 11:38 AM)xaibi Wrote: Hello, no i did not should i write this (height="40px") No, for textarea you must set the attributes rows and or cols. You could also set a default value called placeholder. reference: https://www.w3schools.com/tags/tag_textarea.asp
I think he is talking about using Visual Editor which is a WordPress editor.
Correct me if I' am wrong. What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |