Commit e7e7226
committed
feat: extract multiline text rendering logic into reusable functions
- Add static utility functions renderTextToElement() and createTextElement()
- Add plugin instance methods renderMultilineText() and createMultilineElement()
- Implement comprehensive options system for DOM attributes, CSS classes, and styling
- Refactor existing _render_multiline_node to use new static functions
- Add comprehensive error handling and parameter validation
- Include detailed JSDoc documentation with usage examples
- Maintain full backward compatibility with existing functionality1 parent d297c05 commit e7e7226
1 file changed
Lines changed: 329 additions & 26 deletions
0 commit comments