• pierrescottdesign

    (@pierrescottdesign)


    Hi all, I’m having a serious issue with a site I’m working on. I have videos embedded in my pages, but whenever I go to edit the page and save the changes afterwards, the video code randomly disappears and thus the video disappears. I have no idea why this is happening. Can anyone help me? I’ve been trying to get help for this for weeks now.

    Thanks,

    PJ

Viewing 10 replies - 1 through 10 (of 10 total)
  • esmi

    (@esmi)

    Are you switching between the Visual & HTML Editor tabs?

    Thread Starter pierrescottdesign

    (@pierrescottdesign)

    yes i check both of them…it doesn’t happen until I save the changes. Then the code for the video vanishes.

    esmi

    (@esmi)

    Don’t switch between tabs. Pick one tab and then stick to it or you will lose markup.

    Thread Starter pierrescottdesign

    (@pierrescottdesign)

    but why is that the case? is there something that can stop this? What if a user needs to switch to codeview to fix something?

    Is it <embed> code that’s disappearing? If so, you’re likely stripping it out for security reasons on save.

    esmi

    (@esmi)

    but why is that the case?

    Because, unfortunately, that’s how TinyMCE (the Visual Editor) works.

    Thread Starter pierrescottdesign

    (@pierrescottdesign)

    can I change the editor? is there a JCE editor like in Joomla?

    zfish

    (@zfish)

    Certain HTML tages do get stripped by the Visual Editor. Wish I knew which ones. My embedded Google map code is always affected.

    I found that I could switch back and forth between Visual and HTML as long as I submitted the update only in the HTML view.

    I’m having this same problem, except it’s getting stripped when I click “save draft” by anyone other than an administrator. I’m not switching between views, i.e. i am in HTML view the whole time.

    Please post a new topic.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Help, code deleting!!’ is closed to new replies.