- 8;
                toolbarEle.style.transform = `translate(${left}px, ${top}px)`;
                showToolbar();
            });
        
            [...toolbarEle.querySelectorAll('.toolbar__button')].forEach((button) => {
                button.addEventListener('click', (e) => {
                    const format = button.getAttribute('data-format');
                    const start = textarea.selectionStart;
                    const end = textarea.selectionEnd;
                    const currentValue = t