[Support request] Hyperlinks not visible inside draft posts

Home Forums Support [Support request] Hyperlinks not visible inside draft posts

Home Forums Support Hyperlinks not visible inside draft posts

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #2282867
    Jim

    Links inside draft posts are no longer underlined so I can’t recognize hyperlinks in my posts.
    I’m using a Generatepress child theme and the most recent versions of; Generatepress, and GenerateBlocks. WordPress 6.0.1.

    In Chrome DevTools, I notice there is some code that causes the links to not be underlined: https://i.imgur.com/v2NJYCp.png

    So this is the cause:
    .editor-styles-wrapper .wp-block a {
    text-decoration: none;
    }

    Resulting the following code is striked through (inactive):
    .wp-block a {
    text-decoration: underline;
    }

    What caused this unwanted code to appear, and how can it be removed so internal links are visible in draft posts again?

    Thanks in advance,

    Jim

    #2282915
    Leo
    Staff
    Customer Support

    Hi there,

    Any chance you can link us to the page in question?

    You can use the private information field:
    https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information

    Let me know 🙂

    #2283502
    Jim

    Hi Leo, appreciate the reply.

    You are asking for a link to the page in question. But the issue is with draft posts, which means you must have access to the backend first before I can send you a link to view.

    But, nonetheless, regarding the information I provided earlier:
    – Does that code/class comes from Gutenberg/Wordpress core?
    – Or does that code/class comes from GeneratePress/GenerateBlocks?
    – Maybe, since both WordPress and GeneratePress are so widespread, someone identifies the code or class that sets the ‘text-decoration:none;’, and can tell me where/which files I can edit it, so that hyperlinks inside draft posts are underlined again?

    Many thanks,

    Jim

    #2283818
    Leo
    Staff
    Customer Support

    I can’t tell by looking at a screenshot unfortunately.

    Can you do a quick test to see if the same issue exists in a Twenty series WP theme?

    #2580975
    David

    Hi. We have been having the same issues. See https://screencast-o-matic.com/i/c0eZreV4Wkn. The left side is the page on the frontend, and the right side is the page in editor view. Note that “denatures protein” is formatted correctly on the frontend. In editor view, however, I can barely see the same text hyperlinked. How can I make the hyperlinked text in visual editor visible (without changing the way hyperlinked texts look on the frontend)?

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Hyperlinks not visible inside draft posts’ is closed to new replies.