Support » Plugin: WP Popups - WordPress Popup builder » Text formating and html not saving
Text formating and html not saving
-
When editing the content and adding a heading the heading tags will be striped out after saving. If I format the text, hist save and reload the page, the html is gone. I’ve deviated all other plugins besides gravity forms to test this and nothing has worked.
-
Can you paste the full html code that you are trying to save so I can try locally?
Sure. Nothing fancy, just a heading and a paragraph. I’ve tried using the formatting options in the text editor and writing the html myself.
<h2>Subscribe To Our Newsletter</h2> <p>Sing up for our monthly newsletter and get the latest financial news, tips, and insights.</p>
well that not happens on my end. Which version of the plugin and wordpress do you have?
Here is a dump from site health. I will do a little more testing on my end.
### wp-core ### version: 5.3.1 site_language: en_US user_language: en_US timezone: America/Los_Angeles permalink: /blog/%postname%/ https_status: true user_registration: 0 default_comment_status: open multisite: false user_count: 10 dotorg_communication: true ### wp-plugins-active (18) ### ACF Content Analysis for Yoast SEO: version: 2.3.0, author: Thomas Kräftner, ViktorFroberg, marol87, pekz0r, angrycreative, Team Yoast Advanced Custom Fields PRO: version: 5.8.7, author: Elliot Condon Autoptimize: version: 2.5.1, author: Frank Goossens (futtta) Classic Editor: version: 1.5, author: WordPress Contributors Disable Comments: version: 1.10.2, author: Samir Shah Gravity Forms: version: 2.4.15, author: rocketgenius Gravity Forms MailChimp Add-On: version: 4.6, author: rocketgenius Maintance Testing Tools: version: 1.0.3, author: Patrick Boehner Native Lazyload: version: 1.0.2, author: Google Query Monitor: version: 3.5.2, author: John Blackbourn Redirector: version: 3.0.1, author: Ralf Hortt Relevanssi: version: 4.4.1, author: Mikko Saari Shared Counts: version: 1.3.0, author: Bill Erickson & Jared Atchison Tada: version: 1.1.1, author: Ben Gillbanks TinyMCE Advanced: version: 5.3.0, author: Andrew Ozz WordPress Zero Spam: version: 3.1.1, author: Ben Marshall WP Popups Lite: version: 2.0.0.6, author: timersys Yoast SEO Premium: version: 12.0.1, author: Team Yoast ### wp-plugins-inactive (3) ### CAOS: version: 2.9.4, author: Daan van den Bergh SendGrid: version: 1.11.8, author: SendGrid Simple History: version: 2.33, author: Pär Thernström ### wp-server ### server_architecture: Linux 4.9.93-boot2docker x86_64 httpd_software: Apache/2.4.10 (Debian) php_version: 7.2.0 64bit php_sapi: fpm-fcgi max_input_variables: 3000 time_limit: 900 memory_limit: 256M max_input_time: -1 upload_max_size: 1000M php_post_max_size: 1000M curl_version: 7.38.0 OpenSSL/1.0.1t suhosin: false imagick_availability: true htaccess_extra_rules: false ### wp-constants ### WP_HOME: undefined WP_SITEURL: undefined WP_CONTENT_DIR: /app/public/wp-content WP_PLUGIN_DIR: /app/public/wp-content/plugins WP_MAX_MEMORY_LIMIT: 256M WP_DEBUG: true WP_DEBUG_DISPLAY: false WP_DEBUG_LOG: true SCRIPT_DEBUG: false WP_CACHE: false CONCATENATE_SCRIPTS: undefined COMPRESS_SCRIPTS: undefined COMPRESS_CSS: undefined WP_LOCAL_DEV: undefined DB_CHARSET: utf8 DB_COLLATE: undefined ### wp-filesystem ### wordpress: writable wp-content: writable uploads: writable plugins: writable themes: writable
I’m making these updates to account for the class changes between the plugins on my local test site using Local by flywheel.
I’ve gone ahead and installed the Twenty Nineteen theme and disabled all other plugins. Issue remains.
The HTML that is output looks like:
<div class="spu-content"> <p style="margin-top: 0px; padding-top: 0px; margin-bottom: 0px; padding-bottom: 0px;"> Subscribe To Our Newsletter<br> Sign up for our monthly newsletter and get the latest financial news, tips, and insights.[gravityform id=”4″ title=”false” description=”false” ajax=”true”]<button class="spu-close-popup ">No Thank You</button> </p> </div>
You deactivated all plugins and changed the theme and still happens? That makes no sense to me.
Any must use plugin ?Yep. No MU plugins but I will go ahead and test it on another environment.
Hi @patrick-b, please let me know how it goes. There must be something else in there affecting it.
Definitely an issue with my local development server. Tested it on another setup and the issue went away. Sorry to drag you down the rabbit hole.
No Problem, I will close the ticket, but let me know if you ever find the cause of the issue.
I finely hunted down the issue in my setup and wanted to post just encase someone else has a similar setup issue. The html wasn’t saving because I had define( ‘DISALLOW_UNFILTERED_HTML’, true ) in my wp-config.php
Hi @patrick-b,
thanks for letting me know. If the first time I hear about this constant.
- The topic ‘Text formating and html not saving’ is closed to new replies.