Copy link to clipboard
Copied
Did anybody experienced this?
I copy or cut a text that has a hyperlink with a Character style applied to it, but after I paste it in another text frame (or even simply dragging a copy of that text frame), the Character style is removed.
The hyperlink is still there, the Paragraph style is applied too, but the Character style misteriously disappears.
Copying or dragging a copy of the text with a Character style but without a hyperlink doesn't have thsi problem. If the text frame has a Character style applied to text with and wihout hyperlink, it only removes the Character style from the hyperlinked text, but the other one is fine.
Please help. Thank you.
Alex
I see what's going on. You aren't using the default Hyperlinks character style, but a manually-applied style called Bold2. Enter that in the hyperlinks panel and the issue will stop happening.
~Barb
Copy link to clipboard
Copied
Hyperlinks are sort of 'hyper managed' by InDesign. It likes to apply its own Character Style, called (oddly enough) Hyperlink, and it can be difficult to consistently override or change this application.
What I suspect is happening is that ID is "fixing" the style on paste or placement.
I am not sure there's any solution for this, other than re-applying your preferred style after doing the repositioning.
Copy link to clipboard
Copied
Hi Alex:
Actually, I can't replicate that behavior. What version of InDesign and what OS?
~Barb
Copy link to clipboard
Copied
Hi Barb, thank you for your answer. I do suspect that that's what probably happening, but I didn't have this behavior in any other version of the InDesign before. Usually that would happen if I had a Character style applied to the text, and then added a hyperlink on top of that Character style. Then it might reset it to the default Hyperlink style. But in this case I applied custom Character style after I had hyperlink added.
InDesign version is 18.1.
macOS Ventura Version 13.1.
iMac Pro 2017.
Copy link to clipboard
Copied
Sorry, I meant, thank you James for the explanation.
Copy link to clipboard
Copied
Barb, I have seen this behavior and sometimes it's a simple matter of not using Char styles on TOC'ed entries, and sometimes it's a more persistent issue, as the OP seems to be seeing. I don't have any method to consistently replicate it and have usually just hacked at the problem until it goes away... not very useful, I know.
The worse form may be an aspect of document corruption, in which case the export to IDML, reopen and save as INDD "wash cycle" might fix it.
Copy link to clipboard
Copied
Hi Alex:
You don't need to actually assign the character style to hyperlink. It does it automatically. And if you already have a character style assigned to the text that you were adding a hyperlink to, it's going to replace the character style at that location. I'm still playing with the variations that you're describing and I still can't make it happen. Are you comfortable sharing a file, or a page of the file? You can replace sensitive info with placeholder text.
~Barb
(MacBook Pro, Monterey 12.6, InDesign 18.1)
Copy link to clipboard
Copied
Copy link to clipboard
Copied
I see what's going on. You aren't using the default Hyperlinks character style, but a manually-applied style called Bold2. Enter that in the hyperlinks panel and the issue will stop happening.
~Barb
Copy link to clipboard
Copied
Thank you! Will try and do that. Usually I don't want to automatically apply style when I add hyperlink, because in some cases I needed to use a different Character style that is not Bold, but changes color to Aqua for example, when it is on the dark background. But I guess I will have to switch the Character styles manually when I add a hyperlink.
Copy link to clipboard
Copied
I'll have to experiment, but as noted, ID is stupid-aggressive about auto-applying and managing that Hyperlink style. I know I've battled it a number of times, even using careful styles management.
Hyperlinks and their identifying tattoos are also at the mercy of the end reader, be it PDF, web, EPUB or whatever. Many have hard-coded overrides to interpret links Their Damned Way. 😛
Copy link to clipboard
Copied
Thank you! I just didn't realize that when I choose [Same Style] or [None] it actually stays with the hyperlinked text and automatically corrects it, if a custom Character style applied to it. Always learn something new, 🙂
Find more inspiration, events, and resources on the new Adobe Community
Explore Now