Slider creates an empty p-node before it


#1

hi guys,

small issue, topic says it all :slight_smile: when creating a slider via the pulse tag a <p>-element is rendered before the flex-slider. the problem is (i think) that in the WYSIWYG the editor wraps the slider-tag in a p. when the slider is created the p stays empty before it. any ideas on a work-aorund?

cheers
santiago


#2

Would something like:

p:empty{display:none;}

in the CSS help?


#3

Thanks @squareclouds-design

@ezchile solution sounds good :slight_smile:

There has been some discussion on this a little while ago:

Basically we were hoping Redactor would release a fix.

Redactor 3.1.8 is running in the latest version of Pulse and 3.2.0 will be out in 5.3.4 - but doesn't look like it addresses the issue:
https://imperavi.com/redactor/log/

For now the best work around would be:

  • pasting in HTML mode
  • using the CSS solution provided by @ezchile

#4

thanks michael. yes i realized that it is saved without p if i save in HTML mode. hopefully redactor updates this soon :slight_smile:


closed #5

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.