Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
536 views
in Q2A Core by
Pretty wired problem it is! I am using Bangla language in one of my ask community. I am using version 1.8.0. I was trying to answer a question which was little long in WYSIWYG editor. But when I try to submit it, It shows me a message "12000 char limit". I research on web ans try to increase the size of the varchar (12000) from database and also change QA_DB_MAX_CONTENT_LENGTH in maxima.php. It does not work. Then I go back and change it into default one.

Next, I change the WYSIWYG editor to Basic editor. Now, my long question was excepted and there is no problem with it.

In my opinion the 1.8.0 version of WYSIWYG editor is too buggy. I have used 1.7.4 and there was no problem like that.

So, do you have any Idea how to solve the problem.

Also, I think 1.8.0 have some speed issue. It was fast on 1.7.4. Please let me know.

Thanks
Q2A version: 1.8.0

1 Answer

0 votes
by

Next, I change the WYSIWYG editor to Basic editor. Now, my long question was excepted and there is no problem with it.

There it is. You're not doing the appropriate test. You are confusing the field length with the amount of readable characters. The basic editor takes the input as is and stores it the database field. HTML editors, as the WYSIWYG editor, add HTML around the answer.

So the word test, in order to be displayed in bold could be stored like <b>test</b> in the field. So instead of taking 4 characters it takes 11. If you have copy/pasted HTML text from the web that could even take a lot more. This is test in red: <span style="color:#FF0000;">test</span>

In conclusion, if you want to format your posts with HTML, you have to use extra space that exceeds the visible characters. Otherwise, use the basic editor.

...