• Resolved flick

    (@mosey)


    Hi Tobias

    Thanks again for an excellent plugin (as usual!) Just wondering how one might go about enabling the list tags in the Advanced Editor for each cell? I noticed that the bold etc. tags are available but not these and it would be helpful for a client to have access to them, particularly as it seems that self-made ‘gaps’ means TablePress automatically inserts BR tags.

    Thanks in advance 🙂
    Flick

    https://wordpress.org/plugins/tablepress/

Viewing 1 replies (of 1 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Yes, this should be possible, but you will need to edit a plugin file as this can not be changed with a filter hook at the moment.
    Please take a look at line 485 in the file views/view-edit.php. That needs to be changed to

    'buttons' => 'ul,li,strong,em,link,del,ins,img,code,spell,close',

    Note that those <br /> tags are coming from line breaks in the HTML code, so even when the list tags are added with the buttons, they might appear.
    To turn that off for a table, you can extend your table’s Shortcode:

    [table id=123 convert_line_breaks=false /]

    Regards,
    Tobias

Viewing 1 replies (of 1 total)
  • The topic ‘Advanced Editor – enabling UL and LI etc?’ is closed to new replies.