mirror of
https://github.com/vector-im/element-web.git
synced 2025-12-07 18:31:33 +01:00
* Switch away from nesting React trees and mangling the DOM By parsing HTML events and manipulating the AST before passing it to React Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Use MatrixClientContext in Pill now that we are in the main React tree Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Add missing import Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Break import cycles Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Minimise Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Docs Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
33 lines
473 B
Plaintext
33 lines
473 B
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`link-tooltip does nothing for empty element 1`] = `
|
|
<DocumentFragment>
|
|
<div />
|
|
</DocumentFragment>
|
|
`;
|
|
|
|
exports[`link-tooltip wraps single anchor 1`] = `
|
|
<DocumentFragment>
|
|
|
|
|
|
<div>
|
|
|
|
|
|
<span
|
|
aria-labelledby=":r0:"
|
|
tabindex="0"
|
|
>
|
|
<a
|
|
href="/foo"
|
|
>
|
|
click
|
|
</a>
|
|
</span>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</DocumentFragment>
|
|
`;
|