mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-18 06:47:02 +08:00
ci(editor): enable cross platform test (#11566)
This commit is contained in:
@@ -227,6 +227,13 @@ export class CustomToolbar extends ShadowlessElement {
|
||||
}
|
||||
`;
|
||||
|
||||
override connectedCallback() {
|
||||
super.connectedCallback();
|
||||
this.addEventListener('pointerdown', e => {
|
||||
e.preventDefault();
|
||||
});
|
||||
}
|
||||
|
||||
override firstUpdated() {
|
||||
const boldButton = this.querySelector('.bold');
|
||||
const italicButton = this.querySelector('.italic');
|
||||
|
||||
Reference in New Issue
Block a user