A simple text highlighter. With option to have line-height and color, opacity.
The studio was filled with the rich odour of roses, and when the light
summer wind stirred amidst the trees of the garden, there came through
the open door the heavy scent of the lilac, or the more delicate
perfume of the pink-flowering thorn.
From the corner of the divan of Persian saddle-bags on which he was
lying, smoking, as was his custom, innumerable cigarettes, Lord Henry
Wotton could just catch the gleam of the honey-sweet and honey-coloured blossoms of a laburnum, whose tremulous branches seemed hardly able to bear the burden of a beauty so flamelike as theirs…
summer wind stirred amidst the trees of the garden, there came through
the open door the heavy scent of the lilac, or the more delicate
perfume of the pink-flowering thorn.
From the corner of the divan of Persian saddle-bags on which he was
lying, smoking, as was his custom, innumerable cigarettes, Lord Henry
Wotton could just catch the gleam of the honey-sweet and honey-coloured blossoms of a laburnum, whose tremulous branches seemed hardly able to bear the burden of a beauty so flamelike as theirs…
Telex project here.
Prompt
User avatar Create a WordPress block that allows users to highlight inline text with customizable background colors. The block should use RichText component for direct text editing within posts and pages. Include a color picker in the block inspector panel with both theme palette colors and custom color options. Add opacity controls for the highlight effect. The block renders as a span element with applied background color styling. Ensure real-time preview of color changes in both editor and frontend. The highlighted text should remain editable inline while preserving the highlight styling. Support theme.json integration for consistent design system alignment. Keep the block lightweight and intuitive for content creators to emphasize important text passages. Add typography settings to give line height also and font styling.