Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. General Discussion
  3. HTML via Text-Editor Bug?

HTML via Text-Editor Bug?

Scheduled Pinned Locked Moved General Discussion
texttext editorhtmlhtml editor
7 Posts 2 Posters 2.2k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C
    C
    cr3h
    wrote on last edited by
    #1

    Hey Armin,

    are there known issues about writing html within the text/html-editor?
    I try to insert something like:

    <ul>
    <li><span class="icon-mobile">xxx</span></li>
    <li><a class="icon-mail" href="zzz">yyy</a></li>
    </ul>

    And get the following after closing and opening the popup again:

    <ul><li><span class="icon-mobile">xxx</span></li><li><a class="icon-mail">yyy</a></li></ul>

    I don't know what to do.

    Best,
    Clemens

    1 Reply Last reply
    0
    • arminunruhA
      arminunruhA
      arminunruh
      Global Moderator
      wrote on last edited by
      #2

      Hey Clemens, looks good to me, only the href is missing. Maybe the texteditor strips away the href because "zzz" might not be a valid value? Not sure.

      1 Reply Last reply
      0
      • C
        C
        cr3h
        wrote on last edited by
        #3

        Hey Armin, if i give the regular href="mailto:..." expression, everything works fine. But when I use href="javascript:linkTo_UnCryptMailto('...');" (https://jumk.de/nospam/) it got striped away. Do you know a way to fix that?

        1 Reply Last reply
        0
        • arminunruhA
          arminunruhA
          arminunruh
          Global Moderator
          wrote on last edited by
          #4

          Hey cr3h, hm I'm not sure whats going on there :/

          1 Reply Last reply
          0
          • C
            C
            cr3h
            wrote on last edited by
            #5

            Hey Armin, ok: I want to write a mailto-link within a text area. There is no problem when I type something like mailto:mail@mywebsite.tld in the hyperlink popup or as href in the source code editor. The problem occurs, when i try to replace my working mailto-link with the bit, the tool https://jumk.de/nospam/ gives me for some spam protection: javascript:linkTo_UnCryptMailto('nbjmup;nbjmAlmbttf4i/ef');. Then the href get stripped away. Why it is not allowed to use something like that?

            1 Reply Last reply
            0
            • arminunruhA
              arminunruhA
              arminunruh
              Global Moderator
              wrote on last edited by
              #6

              Hey, I think the texteditor kind of strips that away. Not sure why it does that. Maybe I will introduce a "add html" that can do this.

              1 Reply Last reply
              0
              • C
                C
                cr3h
                wrote on last edited by
                #7

                Ok, thank you. So I have to wait.

                1 Reply Last reply
                0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                Online Users
                Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
                laytheme.com
                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Recent
                • Tags
                • Popular
                • Users
                • Search