Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • 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 1.1k Views
  • 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 Offline
    C Offline
    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 Offline
      arminunruhA Offline
      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 Offline
        C Offline
        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 Offline
          arminunruhA Offline
          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 Offline
            C Offline
            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 Offline
              arminunruhA Offline
              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 Offline
                C Offline
                cr3h
                wrote on last edited by
                #7

                Ok, thank you. So I have to wait.

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                I also code custom websites or custom Lay features.
                šŸ’æ Email me here: šŸ’æ
                info@laytheme.com

                Before you post:
                1. When using a WordPress Cache plugin, disable it or clear your cache.
                2. Update Lay Theme and all Lay Theme Addons
                3. Disable all Plugins
                4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

                This often solves issues you might run into

                When you post:
                1. Post a link to where the problem is
                2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
                3. If the problem is difficult to explain, post screenshots / link to a video to explain it
                Online Users
                M
                Marcal
                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