- Replaced the useRef with useState in ShadowDOM to manage shadowRoot more effectively.
- Enhanced text selection listener logic to ensure proper cleanup and functionality.
- Added console logs in ArticleLayout for debugging text selection events.
Signed-off-by: Innei <tukon479@gmail.com>