What's New
We've introduced a new code block language selector that appears in the top-right corner of each code block. This allows users to easily select the appropriate programming language for syntax highlighting, enhancing the clarity of their code presentations.
Additionally, we've added a character counter to the TipTap editors. This feature helps users keep track of their text length, making it easier to adhere to character limits when creating content.
Improvements
The update also improves the user interface with better spacing for the character counter, ensuring it is visually appealing and easy to read. Furthermore, we have consolidated the Alpine Collapse plugin code into the utilities.js file, streamlining our resources and improving loading times.
We've made adjustments to how files are served, eliminating unnecessary cache-busting parameters which previously forced re-downloads on every page load. This change optimizes performance and improves user experience.
Bug Fixes
Several bugs have been addressed in this release. We fixed warnings related to the Alpine.js x-collapse plugin and the TipTap duplicate 'link' extension, enhancing stability. Additionally, a syntax error in the ERB label tag has been corrected, ensuring that forms function correctly.
We also prevented the BubbleMenu from appearing in code blocks, allowing TipTap to manage its visibility more effectively.