Skip to content

Commit

Permalink
Merge pull request #406 from IshavSohal/issue-384-fix
Browse files Browse the repository at this point in the history
Update link icon in text editor, Make external link open in new tab
  • Loading branch information
yileifeng authored Oct 17, 2024
2 parents e894001 + 401fc47 commit 17398a4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/text-editor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export default class TextEditorV extends Vue {
const content = selected || ``;
return {
text: `[${content}](http://)`,
text: `<a href='http://' target='_blank'>${content}</a>`,
selected: selected
};
});
Expand Down Expand Up @@ -124,4 +124,7 @@ export default class TextEditorV extends Vue {
label {
text-align: left !important;
}
:deep(.v-md-icon-link::before) {
content: '\1F517';
}
</style>

0 comments on commit 17398a4

Please sign in to comment.