1

I am trying to change size of editor

Code :-

<field name="description" type="editor"
        class="editor"
        label="COM_CPEVENT_TITLE_DESCRIPTION"
        labelclass="cpevent-label cpevent-label-main"
        required="true"
        rows="5" 
        cols="5" 
        filter="raw"
     />

I tried width="40%" add height="40%" but it's not working.

Also tried changing rows and cols but it's not working.

Please help me solve this issue.

2
  • have you tried to change rows and cols??
    – Joomler
    Jul 25, 2016 at 6:03
  • yes @Joomler But it's not working Jul 25, 2016 at 6:06

1 Answer 1

1

In the plugin section search for Editor - TinyMCE

and then go to the Advance setting and there you will see the height and width parameters.

Just change it from there and you are done.

2
  • Now I can change height but not width. Jul 25, 2016 at 6:16
  • you can, give the value for width like 200px, I just tested it
    – Joomler
    Jul 25, 2016 at 6:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.