Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
table in message
mcsa2005
New
I am using cledit for compose message. I am try to insert html table, when editing table view normal, But when I post message, table disappears, only text remains. How I can insert table?
Ps sorry for my english
0
Comments
can you post the code? use < pre > code here < /pre > or a screenshot?
to post code in cleditor you need to do it in the html side < >
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
I know that I need press <> before post html code in cleditor.
I post somthing like this
Tag pre not help. I post screenshot http://postimage.org/image/xbrjr1hab/
And second screenshot postimage.org/image/beulbzot1/
I believe tables are stripped out automatically by default. Vanilla uses htmlawed to sanitize input and prevent security holes. I am not at my computer right now to look anyf urther into it.
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
hm yea to show the <> you need to put spaces between them. ok there are certain things that are blocked from using in html in the editor
you can't use certain < style > tags, you can remove the forcing safe styles in the conf.php but it is not advisable because of many real reasons. People could mess up the page style.
So the problem is that the text Table Cell shows? anything you put between >Table cell < will show as text. You can't use ID or Class in the span you can't use metatags in the editor, you can't call another stylesheet from the editor.
< span class="typ" >Table< /span >
Any html that is unsafe will be filtered
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
if I remove the tag < style >,the situation not change . the following code does not work
to: hgtonight
I watched file HtmLawed\class.htmlawed.plugin.php and dont see anything that can block table, tr, td tags.
grep is your friend.
works here. What formatter are you using?
grep is your friend.
Ah you are using cleditor. This is WYIWYG. make sure you click the show source button then insert your table text, then post. Just tried it.
grep is your friend.
I insert table in sorce mode.
Can You post code of table that You insert here?
it is above
here is the source:
grep is your friend.
If tr and td tag on the same line - its work
if on different - not work
grep is your friend.
removed
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
I have confirmed @mcsa2005 case for 2.0, it look like it has been fixed in future versions, or perhaps markdown pre formating helps.
grep is your friend.
same problem in 2.1a33 with markdown (last version I have played with)
The plugin for htmlLawed has changed in 2.1 but could be they also tuned htmLawed on this site.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
can i use htmlLawed plugin from 2.1 on 2.0.18?
I tried it (from 2.1a33 , it didn't solve the table issue . You need to modify
try reading in the plugin and modify it to your needs. Either version of plugin.
htmLawed_README.txt
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
similar issue in 2.10 . In my case there are lots of br tags being inserted before the table. Oldly compressing the code with this did the trick
Please post a new topic detailing your issue.
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.