FIX: Make edit table button text not selectable (#29)
Making the text of the edit table button not selectable so that when post's contents are copied, the edit table label does not copy over as well.
This commit is contained in:
parent
55c80ed04f
commit
879140b8ce
|
@ -18,7 +18,8 @@ export default apiInitializer("0.11.1", (api) => {
|
|||
"open-popup-link",
|
||||
"btn-default",
|
||||
"btn",
|
||||
"btn-icon-text"
|
||||
"btn-icon-text",
|
||||
"btn-edit-table"
|
||||
);
|
||||
const editIcon = create(
|
||||
iconNode("pencil-alt", { class: "edit-table-icon" })
|
||||
|
|
|
@ -2,3 +2,11 @@
|
|||
display: inline;
|
||||
margin-inline: 0.25em;
|
||||
}
|
||||
|
||||
.btn-edit-table {
|
||||
-webkit-user-select: none;
|
||||
-webkit-touch-callout: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue