Hello, I am setting this up for a client and for some reason any HTML that I enter into the rich text fields gets stripped away when I hit “Save Changes”. It kinda defeats the purpose of having a rich text field when the HTML doesn’t stay intact. It also deletes any HTML when you switch from “Text” to “Visual”. This is not the standard TinyMCE behavior. This is the last thing I need to get working before I present to the client.
Please tell me how to get the richtext editor working as it should. Older versions of User Meta Pro did not use the WordPress-native editor and did not have this problem.
Another thing is that if you hit “enter” key in “Visual” mode of richtext field it looks like it makes new paragraph when viewing in editor, but on front end all of the text runs together and there are no <p> tags.
Okay, since no one will reply to help me, I came up with a solution myself. For anyone else that is having their p tags and br tags stripped off when you save a richtext (HTML) field, you can solve this issue with a native WordPress function called “wpautop” which automatically adds p tags when needed. Simply echo your content inside wpautop and you should be good to go.
E.G. <?php echo wpautop($your_richtext_variable); ?>
To the moderators of this forum, the forum appears dead. No one is getting replies to their support requests. Please help the people that have paid for the plugin like you are supposed to. It isn’t right to ignore us.
Author
Posts
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.AcceptRead More
Privacy & Cookies Policy
Privacy Overview
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.