TinyMCE: wplink: add inline toolbar

Now the URL can be viewed as soon as you put the cursor in an anchor tag. Clicking on it will open the page in a new tab. You also have the edit and remove button close at hand.

First run.
See #32604.


git-svn-id: https://develop.svn.wordpress.org/trunk@32931 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ella Iseulde Van Dorpe
2015-06-24 23:04:46 +00:00
parent ac63fb4dc3
commit ed5625f831
2 changed files with 96 additions and 0 deletions

View File

@@ -1599,6 +1599,23 @@ i.mce-i-wp_code:before {
}
}
.wp-link-preview {
float: left;
margin: 5px;
}
.wp-link-preview a {
color: #0073aa;
text-decoration: underline;
-webkit-transition-property: border, background, color;
transition-property: border, background, color;
-webkit-transition-duration: .05s;
transition-duration: .05s;
-webkit-transition-timing-function: ease-in-out;
transition-timing-function: ease-in-out;
cursor: pointer;
}
/* =Overlay Body
-------------------------------------------------------------- */