From the course: Drupal 9 Essential Training: 3 Taxonomy, Media, and Modules

Unlock the full course today

Join today to access over 24,700 courses taught by industry experts.

Adding internal linking to the WYSIWYG editor

Adding internal linking to the WYSIWYG editor - Drupal Tutorial

From the course: Drupal 9 Essential Training: 3 Taxonomy, Media, and Modules

Adding internal linking to the WYSIWYG editor

- [Instructor] One of the questions I get virtually every time I teach a course and I mean every time, how do I insert an internal link into the body field that and how do I open external links in a new window? Well, this is a pretty common problem and to be honest, I'm kind of surprised that Drupal hasn't put something that fixes this in core. Well, fortunately there are two modules that help us in this regard, head over to drupal.org/project/Linkit. Linkit is a module that takes the link in Ckeditor and converts it to be either an internal or an external link. Linking internally is really important and so the ability to be able to link in the body field is really helpful. So once again, you can read the documentation here. There is an advanced link module that will also insert an icon into Ckeditor, we're not going to worry about that one but if you scroll down, you'll note that this particular module is still in…

Contents