Ankita P
asked 8 years ago

Not able to create table like below while answering "Note : I am working in DWQA pro version " .

<table style="height: 306px" width="859">

1231333 155555 **21** Iaaaaaaaaaaaaaaaaaa.   bbbbbbbbbbbbbbbv cccccccccccccccccc
2 Answers
DominicStaff
answered 8 years ago

I know what you want. At the moment, we are using the DW Q&A pro version on the designwall site and

Markdown Editor from DWQA Markdown extension.

Also, the DW Q&A Free version facing the bug about formating. We are checking and fixing this issue. We will release it as soon as possible.

Regards,

Ankita P
replied 8 years ago

Has the same been updated in new update ??

Thanks .

Dominic Staff
replied 8 years ago

This issue only come from free version, it works fine with the pro version.

Ankita P
replied 8 years ago

I am using Pro Version 1.03 , still not able to create table .

Thanks .

Dominic Staff
replied 8 years ago

🙁 I have installed and checked the Q&A pro today and see that it does not work now. I sent and notified our technical team about this problem. We are checking and fixing. We will update it in the plugin in the tomorrow. Sorry about that, my friend.

Ankita P
replied 8 years ago

Kindly see .. latest update of DWQA pro doesnot support table … Kindly help.

Allen
answered 8 years ago

@Ankita P, Hi , for your situation, you need to change some code at DW Question & Answer:

You can open file : dw-question-answer-pro/inc/Posts/Base.php, Then go to line 380.

You need to replace the code from line 380 to  407 :

With the new code below :

$filter = apply_filters( 'dwqa_filter_kses', array(
'a' => array(
'href' => array(),
'title' => array()
),
'br' => array(),
'em' => array(),
'strong' => array(),
'code' => array(
'class' => array()
),
'blockquote' => array(),
'quote' => array(),
'span' => array(
'style' => array()
),
'img' => array(
'src' => array(),
'alt' => array(),
'width' => array(),
'height' => array(),
'style' => array()
),
'ul' => array(),
'li' => array(),
'ol' => array(),
'pre' => array(),
'table' => array(
'class' => array(),
'style' => array(),
),
'thead' => array(
'class' => array(),
'style' => array(),
),
'tr' => array(
'class' => array(),
'style' => array(),
),
'th' => array(
'class' => array(),
'style' => array(),
),
'tbody' => array(
'class' => array(),
'style' => array(),
),
'td' => array(
'class' => array(),
'style' => array(),
),
));
Powered by DW Question & Answer Pro