Chatbot V2 is not always formatted properly, until the refresh the page. Please what can I do to solve the problem. I have tried disabling some plugins to see if it will solve the problem but no avail. My WordPress in running on Elementor page builder and I use CloudFlare as my CDN.
Elementor containers tend to override some CSS values. If you mean that the response is not formatted properly and looks like a single line / no line breaks, you can use the following CSS to fix that:
.mwai-text {white-space: break-spaces;}
If this doesn’t work, you can also try:
.mwai-text {white-space: initial;}
If your issue is not what I thought, please do not hesitate to respond here. Thank you! 😊
The CSS code works for line spacing but not for Code and Table formatting. Here is my screenshot of the table format before and after I refreshed my page. The format is always like that until I refresh my page.
Thanks. I am hoping to get your response very soon.
Please ensure you are using the latest version of AI Engine. When Markdown is used, the formatting should be done automatically unless something is affecting it. If you are using streaming, could you disable it to see if anything changes?
Additionally, a good way to troubleshoot this kind of problem is to start from a clean slate to ensure that the formatting is working on its own. Use only the chatbot on a blank page without any other plugins. Third-party plugins, such as builders, might add custom CSS rules or make changes that aren’t compatible with how AI Engine works.
Thanks ! 😊
Viewing 5 replies - 1 through 5 (of 5 total)
The topic ‘Chatbot 2V not formatted properly’ is closed to new replies.