Opened 15 years ago
Closed 14 years ago
#5870 closed New Feature (wontfix)
Add ability to hide anchors in editor content (patch)
Reported by: | Scott Bronson | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | HasPatch | Cc: |
Description
The way CKeditor currently handles anchors is quite obtrusive. Documents with anchors look very different when they're being edited than they do in real life.
This patch adds the linkShowAnchors config item. It defaults to true and, if the user sets it to false, anchors will remain hidden while the document is being edited. All other functionality remains the same.
Attachments (1)
Change History (5)
Changed 15 years ago by
Attachment: | link.patch added |
---|
comment:1 Changed 15 years ago by
Keywords: | HasPatch added |
---|
I don't see it much useful, as it doesn't make it possible to modify anchors. But anyway, the patch is here for anyone that may be interested on it.
comment:2 Changed 15 years ago by
True, I should have mentioned that. My app manages anchors automatically when the document is saved. My users don't have much of a need to edit them (and in the rare event that they do, there's always source view).
comment:3 Changed 15 years ago by
Another solution, but I didn't try it, is simply adding CSS rules in the contents.css file to hide the anchors. This should be the best solution, as we're also using CSS to display the anchor icons.
comment:4 Changed 14 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
The only reason to add this patch would be due to the current behavior that hides contents of anchors, but the patch in #3582 changes that, so the only issue are the anchor icons, but that can be controlled by CSS as Fred stated.
Patch to make displaying anchors optional, controlled by a config item.