As previously announced via banners and our newsletters, support is no longer available through this platform.

For easier navigation, you can still click on "Submit a Ticket" here, choose the appropriate category, and you'll be redirected to the correct support channel for your plugin.

You can still access your previous tickets and browse public tickets, but please note that responding to tickets is no longer possible.

Paid customers: Please log in to your store account for support.

Pre-purchase questions: Use the support widget in the bottom-right corner of our websites:
https://wpamelia.com
https://wpdatatables.com
https://wpreportbuilder.com

Okay
  Public Ticket #2689001
Custom css formatted on one line
Closed

Comments

  • John J Hannon started the conversation

    When I enter custom css in the UI and hit Save, the css gets formatted as a single line of text. This makes it extremely difficult to edit if you have more than one or two style rules.

  • John J Hannon replied

    Possibly related?

    load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,moxiejs,plupload,jquery-ui-core,jquery-ui-tabs,jquery-form&ver=5.6:5 JQMIGRATE: Migrate is installed, version 3.3.2
    main.js?ver=3.4.1:459 Uncaught ReferenceError: aceEditorTableCSS is not defined
        at HTMLPreElement.<anonymous> (main.js?ver=3.4.1:459)
        at HTMLPreElement.dispatch (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,moxiejs,plupload,jquery-ui-core,jquery-ui-tabs,jquery-form&ver=5.6:2)
        at HTMLPreElement.v.handle (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,moxiejs,plupload,jquery-ui-core,jquery-ui-tabs,jquery-form&ver=5.6:2)
    (anonymous) @ main.js?ver=3.4.1:459
    dispatch @ load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,moxiejs,plupload,jquery-ui-core,jquery-ui-tabs,jquery-form&ver=5.6:2
    v.handle @ load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,moxiejs,plupload,jquery-ui-core,jquery-ui-tabs,jquery-form&ver=5.6:2


  •  2,576
    Aleksandar replied

    Hello John

    I'm not sure I understand what the issue is here.

    Can you show me in a screenshot what you're referring to?

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  • John J Hannon replied

    Screenshot attached. This css was nicely formatted when I entered it, now it's all on one line.

  •  472
    Isidora replied

    Hi John,

    Sorry for the delay in our responses, has been national holidays in our country for the last two days.

    Aleksandar is on vacation and I will help you out.

    Yes, you are right. We will fix this for the next update. Until that please go in file wp-content/plugins/wpdatatables/source/class.wdtconfigcontroller.php around line 409

    you will find this

    $table->tableCustomCss = sanitize_text_field($table->tableCustomCss);

    and replace with this

    $table->tableCustomCss = sanitize_textarea_field($table->tableCustomCss);

    Sorry for the inconvenience,

    Thank you for reporting this.

    Best regards.

    Kind Regards, 

    Isidora Markovic

    wpDataTables: FAQFacebookTwitterFront-end and back-end demoDocs

    Amelia: FAQFacebookTwitter |  Amelia demo sites | Docs

    You can try our wpDataTables add-ons before purchase on these sandbox sites:

    Powerful FiltersGravity Forms Integration for wpDataTablesFormidable Forms Integration for wpDataTables