fix: remove background from wysiwyg when editing arrow label (#6033)
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>zsviczian-styletweek
parent
af3b93c410
commit
5fcf6a4845
@ -0,0 +1,12 @@
|
|||||||
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||||
|
|
||||||
|
exports[`Test Linear Elements Test bound text element should match styles for text editor 1`] = `
|
||||||
|
<textarea
|
||||||
|
class="excalidraw-wysiwyg"
|
||||||
|
data-type="wysiwyg"
|
||||||
|
dir="auto"
|
||||||
|
style="position: absolute; display: inline-block; min-height: 1em; margin: 0px; padding: 0px; border: 0px; outline: 0; resize: none; background: transparent; overflow: hidden; z-index: var(--zIndex-wysiwyg); word-break: break-word; white-space: pre-wrap; overflow-wrap: break-word; box-sizing: content-box; width: 0px; height: 0px; left: 40px; top: 20px; transform: translate(0px, 0px) scale(1) rotate(0deg); text-align: center; vertical-align: middle; color: rgb(0, 0, 0); opacity: 1; filter: var(--theme-filter); max-height: -20px; font: Emoji 20px 20px; line-height: 0px; font-family: Virgil, Segoe UI Emoji;"
|
||||||
|
tabindex="0"
|
||||||
|
wrap="off"
|
||||||
|
/>
|
||||||
|
`;
|
Loading…
Reference in New Issue