0
Welcome Guest! Login
0 items Join Now

empty span gives trouble

    • kris8888's Avatar
    • kris8888
    • Rocketeer
    • Posts: 88
    • Thanks: 2

    empty span gives trouble

    Posted 11 years 10 months ago
    • Hi,

      TinyMCE HTML parser doesn't allow empty span tags unless they are padded with a  

      Could you please make this "best practise" when making eg. custom HTML in your templates because when you save a module containing empty tags with eg. JCE it will strip the html and you will have to dig it up again and redo your work

      all the best,

      Kris
    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: empty span gives trouble

    Posted 11 years 10 months ago
    • If you use some other Joomla editor (for example RokPad) or configure JCE not to clean up HTML source code of the article, you won't have such issues 8)
    • Check my services at: Mihha-Vision
    • kris8888's Avatar
    • kris8888
    • Rocketeer
    • Posts: 88
    • Thanks: 2

    Re: empty span gives trouble

    Posted 11 years 10 months ago
    • Hi Igor,

      It still removes the html even with validate HTML turned off, no text filtering, css, java etc. turned on - how do you prevent this from happening?

      Kris
    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: empty span gives trouble

    Posted 11 years 10 months ago
    • Did you try to use RokPad2 editor?
    • Check my services at: Mihha-Vision
    • kris8888's Avatar
    • kris8888
    • Rocketeer
    • Posts: 88
    • Thanks: 2

    Re: empty span gives trouble

    Posted 11 years 10 months ago
    • Hi Igor,

      Maybe I'm wrong.. but I dont really like rokpad2 because it isn't a wysiwyg editor and not very user-friendly for a "no-tech" admin - but it works just fine with empty spans, and so do jce when you put in no breaking space

      It's not a big thing inserting this space when you know JCE will break it, but I just hoped RT would put it in so this kind of thing couldn't happen

      Kris
    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: empty span gives trouble

    Posted 11 years 10 months ago
    • Well, I guess this could happen but on the other hand, I believe that this can be avoided in JCE configuration so it wouldn't happen
    • Check my services at: Mihha-Vision
    • kris8888's Avatar
    • kris8888
    • Rocketeer
    • Posts: 88
    • Thanks: 2

    Re: empty span gives trouble

    Posted 11 years 10 months ago
    • May be a bug in jce?
    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: empty span gives trouble

    Posted 11 years 10 months ago
    • That should really be checked with JCE developers. We really can't provide support for 3rd party extensions :oops:
    • Check my services at: Mihha-Vision

Time to create page: 0.079 seconds