Function Anchor in WYSIWYG #344

Closed
opened 2026-02-04 18:46:58 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @thelmosantos on GitHub (May 29, 2017).

For Feature Requests

Desired Feature: Function Anchor in WYSIWYG

Hi!,

Is it possible con create anchors using the page editor mode WYSIWYG? I saw that it's possible to do when we use the Markdown mode. I think it could be very usefull if we could define anchors with a button.
Right now, to define a Anchor in a title I need to put this code in the line that I want to use this functionality:

for example:
<h1><a name="Top" id="Top"></a> put a Title here....</h1>

And than, at the hyperlink button (insert/edit link) I c`an choose the Anchor option and select the title with the code that I inserted.

So, it would be awesome if I could define a Anchor without need to put html codes.

I hope you could add this functionality soon.

Thanks and best regards,

Thelmo Henrique

Originally created by @thelmosantos on GitHub (May 29, 2017). ### For Feature Requests Desired Feature: Function Anchor in WYSIWYG Hi!, Is it possible con create anchors using the page editor mode WYSIWYG? I saw that it's possible to do when we use the Markdown mode. I think it could be very usefull if we could define anchors with a button. Right now, to define a Anchor in a title I need to put this code in the line that I want to use this functionality: for example: ` <h1><a name="Top" id="Top"></a> put a Title here....</h1>` And than, at the hyperlink button (insert/edit link) I c`an choose the Anchor option and select the title with the code that I inserted. So, it would be awesome if I could define a Anchor without need to put html codes. I hope you could add this functionality soon. Thanks and best regards, Thelmo Henrique
OVERLORD added the 🛠️ Enhancement📝 WYSIWYG Editor labels 2026-02-04 18:46:58 +03:00
Author
Owner

@sam-goode commented on GitHub (Apr 11, 2018):

To add to this, how about on the settings page when WYSIWYG is selected, you get two text fields appear in which you can specify the plugins and toolbar parameters for TinyMCE?

This way if you want anchor links available, simply add it to the plugins list and to toolbar wherever you want.

Then when the WYSIWYG editor is loaded it pulls the settings from here.

@sam-goode commented on GitHub (Apr 11, 2018): To add to this, how about on the settings page when WYSIWYG is selected, you get two text fields appear in which you can specify the plugins and toolbar parameters for TinyMCE? This way if you want anchor links available, simply add it to the plugins list and to toolbar wherever you want. Then when the WYSIWYG editor is loaded it pulls the settings from here.
Author
Owner

@sam-goode commented on GitHub (Aug 28, 2018):

@ssddanbrown is this something that would be easy enough to add to the next release?

@sam-goode commented on GitHub (Aug 28, 2018): @ssddanbrown is this something that would be easy enough to add to the next release?
Author
Owner

@ssddanbrown commented on GitHub (May 11, 2022):

Sorry for the late reply 😬
The WYSIWYG editor does have some in-built anchor linking which detects and provides headers within the page to link to:

image

I think that probable suits most use-cases, I wouldn't really expand on that existing functionality since there's been relatively so little demand in the last 5 years so will hence close this off.

@ssddanbrown commented on GitHub (May 11, 2022): Sorry for the late reply :grimacing: The WYSIWYG editor does have some in-built anchor linking which detects and provides headers within the page to link to: ![image](https://user-images.githubusercontent.com/8343178/167824881-fdd91eb5-bec2-43df-ab1a-ac37404afe96.png) I think that probable suits most use-cases, I wouldn't really expand on that existing functionality since there's been relatively so little demand in the last 5 years so will hence close this off.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#344