How Can I Enable Rel Attribute In Ckeditor 5 Link Plugin? - FreeCodeBlog

Last updated: Jan 19, 2022

I have a simple project and I added ckeditor 5 in my project. Also I added ckeditor 5 link plugin to my project. Now I want to enable rel attribute in ckeditor 5 link plugin. In fact I want to enable the rel feature automatically. This means that if someone adds a link to the text, the rel attribute will be added automatically. Here is my ckeditor 5 link plugin code which I added to my project.

 

ClassicEditor
    .create( document.querySelector( '#editor' ), {
        toolbar: {
            items: ['link'],
        }
    } )
    .then( ... )
    .catch( ... );

 

Thanks.

Question Answers
Question Tags
Question Writer
guest0011
Guest (@guest0011)
Related Questions
How To Add Ckeditor 5 Placeholder In Vue Js?

Hi, can anyone help me to use ckeditor 5 placeholder in my vue js project? In fact, I installed ckeditor5 build classic editor in my vue js project... Read More

Can I Use Ckeditor 5 Link Rel Attribute Manually In Html A Tag?

I'm trying to use rel attribute to ckeditor 5 manually but i don't understand how can i do it? I want to use the rel attribute in my ckeditor 5 man... Read More

How To Add Rel Attribute Automatically In Ckeditor 5 Vue Js Link Plugin?

I want to add the rel attribute to my ckeditor 5 vue automatically. I'm trying to add rel attribute to ckeditor 5 automatically but i don't underst... Read More