daveosmith
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Raw html not editable/loading visual composerAfter trying to sort this, I’ve found that there’s two reasons this issue happens…
1. Spacing in any of the code you want placed in the vc_raw_html tags. However this can be resolved by using a code compressor/minify.
2. Additional Carriage breaks are added one after the opening tag and one before the closing tag – these need to be removed from the classic editor view, before saving.Also, If it helps, I’ve also noticed a similar issue with other VC code, carriage breaks appear after/before the opening/closing tags too. For example [/vc_testimonial] – whilst not as serious, the additional unwanted carriage breaks cause unwanted spacing around quotes.
For code compressors I’ve just used…
JS – http://javascriptcompressor.com/
HTML – http://www.willpeavy.com/minifier/– There may be better available, but those did the trick for me.
Forum: Fixing WordPress
In reply to: Raw html not editable/loading visual composerHi Joe, thanks for this gave me something to start with, I’ve experienced the following…
For some reason additional carriage returns are added on saving. I seem to get one at the opening [vc_raw_html] and two before the closing [/vc_raw_html].
So your spot on saying that removing these from the classic view and then saving – only additional thing to note, is that every time the page is edited you’ll need to remove the carriage returns, incredibly frustrating.
I’ve also noticed the same issue occurs when using the [vc_raw_js] and other issues when using the visual composer since the 4.3 update.
All the best.