- Getting Started
- Browser Support
- Languages Support
- Shortcuts
- Activation
- Examples
- Customize the Editor
- Use-cases
- Plugins
- APIs
- Development Frameworks
- Server Integrations
- Server SDKs
- Migration Guides
- Changelog
- Tutorials
Links
Predefined Links
When the link.min.js
plugin is used it is possible to define a predefined list of links. The user can select from this list when inserting or editing a link.
Try it yourself:
HTML
<div id="froala-editor">
<p>The list of predefined links can be defined using the <a href="../docs/options#linkList" title="linkList option" target="_blank">linkList</a> option.</p>
</div>
JAVASCRIPT
<script>
new FroalaEditor('div#froala-editor', {
linkList: [
{
text: 'Froala',
href: 'https://froala.com',
target: '_blank'
},
{
text: 'Google',
href: 'https://google.com',
target: '_blank'
},
{
text: 'Facebook',
href: 'https://facebook.com'
}
]
})
</script>
Related Plugin: Link