0
Welcome Guest! Login
0 items Join Now

Stripping all Html Codes

  • Stripping all Html Codes

    Posted 13 years 1 week ago
    • Cliff Pfeifer's Avatar
    • Cliff Pfeifer
    • Preeminent Rocketeer
    • Posts: 8444
    • Thanks: 20
    • Website Developer

    Re: Stripping all Html Codes

    Posted 13 years 1 week ago
    • Hi, which editor are you using. It's not possible to paste codes like this into some editors, you might want to try the Code Mirror editor or RokPad. This has nothing to do with the template.
    • The difficult we do immediately, the impossible takes a little longer.
  • Re: Stripping all Html Codes

    Posted 13 years 4 days ago
    • Yes, Now it works. Thanks. The thing is when I switched to for example Code Mirror editor or RokPad I am able to paste and it works BUT when I want to type and edit a page I need to switch back to tiney MCE in Global Configuration and after editing the code disappeared again, and I need to repeat the first step after editing, I mean change mode to Code Mirror editor or RokPad , paste the code and save.
    • Cliff Pfeifer's Avatar
    • Cliff Pfeifer
    • Preeminent Rocketeer
    • Posts: 8444
    • Thanks: 20
    • Website Developer

    Re: Stripping all Html Codes

    Posted 13 years 4 days ago
    • Hi, this is an unfortunate side effect of the MCE editor, by default it strips or adds formatting when it loads the content. You can change the behavior in the plugin manager -> editors -> tinyMCE - there are some parameters you can adjust there to change what it strips and adds.
    • The difficult we do immediately, the impossible takes a little longer.
  • Re: Stripping all Html Codes

    Posted 13 years 4 days ago
    • Great. Fixed.
      I went to – Extensions -> Plug In Manager -> Editor – TinyMCE
      Basic Options -> Prohibited Elements

      and removed iframe and scripts from the list. it fixed.
      Thanks

Time to create page: 0.052 seconds