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.
1 parent 2ea2413 commit c0057e2Copy full SHA for c0057e2
draft-js-linkify-plugin/src/index.js
@@ -16,8 +16,8 @@ const linkPlugin = (config = {}) => {
16
// errors when upgrading as basically every styling change would become a major
17
// breaking change. 1px of an increased padding can break a whole layout.
18
const theme = config.theme ? config.theme : defaultTheme;
19
- const prefix = config.prefix ? config.prefix : null;
20
- const target = config.target ? config.target : null;
+ const prefix = config.prefix ? config.prefix : 'http://';
+ const target = config.target ? config.target : '_self';
21
return {
22
decorators: [
23
{
0 commit comments