• Resolved iisisrael

    (@iisisrael)


    In checklist-in-post/checklist_in_post_frontend.js, @ line 6:
    - $text = $(this).text() ;
    + $text = $(this).html() ;

    • This topic was modified 7 years, 4 months ago by iisisrael. Reason: formatting
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter iisisrael

    (@iisisrael)

    Even better, to allow for nested lists:
    jQuery(document).ready(function($){ //Edit .todo-list ul appearance
    - $('.checklist_in_post > ul').wrap("<form id='todo-list'>");
    + $('.checklist_in_post > ul').wrap("<form class='todo-list'>");

    $id = 1;
    - $('.checklist_in_post ul li').each(function() {
    - $text = $(this).text() ;
    + $('.checklist_in_post > form.todo-list > ul > li').each(function() {
    + $text = $(this).html() ;

    Then in checklist-in-post/css/checklist_in_post_frontend.css:
    - .checklist_in_post ul {
    + .checklist_in_post > form.todo-list > ul {

    - .checklist_in_post ul li{
    + .checklist_in_post > form.todo-list > ul > li{

    - #todo-list{
    + form.todo-list{

    - #todo-list:before{
    + form.todo-list:before{

    Plugin Author Intar IT

    (@tomiskym)

    Thank you for help. I’m just started www.remarpro.com adventure. Your update will be there soon.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Allow HTML in list items’ is closed to new replies.