We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 039a7eb + efa8376 commit 148ad12Copy full SHA for 148ad12
draft-js-linkify-plugin/README.md
@@ -12,6 +12,15 @@ import createLinkifyPlugin from 'draft-js-linkify-plugin';
12
const linkifyPlugin = createLinkifyPlugin();
13
```
14
15
+You may also optionally set a prefix or define the target value for the resulting `<a>` tag:
16
+
17
+```js
18
+const linkifyPlugin = createLinkifyPlugin({
19
+ prefix: 'https://', // default is 'http://'
20
+ target: '_blank' // default is '_self'
21
+});
22
+```
23
24
## Importing the default styles
25
26
The plugin ships with a default styling available at this location in the installed package:
0 commit comments