Closed Bug 778196 Opened 13 years ago Closed 13 years ago

When a new link is created and article auto-complete is not used, path is used for link text

Categories

(developer.mozilla.org Graveyard :: User management, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Ken, Unassigned)

References

()

Details

Every time I try to create a link using the WYSIWYG page editor on Kuma the URL gets used for the href, title and link text even if I provide different link text forcing me to fix the links by viewing the raw source.
What process are you using to create the link? The only time the link text is set to the URL is when there isn't existing text in the WYSIWYG. Please view this: http://screencast.com/t/s9Vgb9f2V Any insight you can provide would be helpful. Thanks KLB!
David, The method displayed in the video works, but if you start with no text and click directly on the link button add link text in the popup and then the URL. The URL shows up in the link text and title tags. Also if you try to edit an existing link all the boxes show up blank. To replicate: 1) place cursor in editing box. 2) click on link button. 3) put text in article title box 4) put url in url box. 5) click okay. If it matters, I'm running FF14.0.1 on Win7
Thanks for the update KLB! Here's another video: http://screencast.com/t/HRnerFQ9 The "article" field is meant as an autocomplete for choosing existing articles. I'll add :sheppy and see how he wants to handle this.
Spoke with sheppy, he'd like your use case to work also. On it! :)
Great! This will cause it to behave more like link widgets on other WYSIWYGs. BTW, is there a bug opened for the way the WYSIWYG scrolls? Its scrolling behavior is a little messed up.
Yes sir; the link scrolling feature has a few open issues.
Summary: Kuma: The link builder in the page editor WYSIWYG is putting URL in place of link text → If link autocomplete is not used, path is used for link text
Summary: If link autocomplete is not used, path is used for link text → When a new link is created and article auto-complete is not used, path is used for link text
Commits pushed to master at https://github.com/mozilla/kuma https://github.com/mozilla/kuma/commit/ca1d48252c97e685ae488c9b08c2e3c0d83e4c25 fix bug 778196 - use invalid article title as text https://github.com/mozilla/kuma/commit/c1f6122a5f5679129d4ac0e7916c204eb03e96c3 Merge pull request #462 from darkwing/link-editor-778196 fix bug 778196 - use invalid article title as text
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Version: Kuma → unspecified
Component: Administration → User management
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.