dz-rich-text-editor
Version:
A comprehensive React rich text editor component with image upload, resize functionality, and standalone CSS. Ready for NPM publishing.
227 lines (148 loc) • 6.19 kB
Markdown
# Changelog
All notable changes to the DZ Rich Text Editor project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [3.0.0] - 2024-12-19
### Added
- Major version release with enhanced dropdown components
- Enhanced dropdown components with wider layouts for better readability
- Selected value display on dropdown buttons (shows current selection)
- Visual feedback for active dropdown selections
- Improved CSS structure with better maintainability
- Better responsive design for dropdown components
### Changed
- Updated dropdown width from default to minimum 120px for better text display
- Improved dropdown positioning and z-index management
- Enhanced CSS class naming for better organization
- Updated package.json to include editor.css in files array
- Major version bump to v3.0.0
### Fixed
- Dropdown menus no longer hidden behind editor panel
- Better z-index management for overlapping elements
- Improved dropdown positioning on scroll
## [2.3.2] - 2024-12-19
### Added
- Enhanced dropdown components with wider layouts for better readability
- Selected value display on dropdown buttons (shows current selection)
- Visual feedback for active dropdown selections
- Improved CSS structure with better maintainability
- Better responsive design for dropdown components
### Changed
- Updated dropdown width from default to minimum 120px for better text display
- Improved dropdown positioning and z-index management
- Enhanced CSS class naming for better organization
- Updated package.json to include editor.css in files array
### Fixed
- Dropdown menus no longer hidden behind editor panel
- Better z-index management for overlapping elements
- Improved dropdown positioning on scroll
## [2.2.8] - 2024-12-19
### Added
- Selected value tracking for all dropdown components
- State management for headings, font family, line spacing, and bullet styles
- Dynamic dropdown positioning to prevent off-screen display
### Changed
- Updated dropdown rendering to show selected values
- Enhanced dropdown trigger buttons with selected value display
- Improved dropdown menu positioning logic
## [2.2.7] - 2024-12-19
### Changed
- Reverted package name to dz-rich-text-editor
- Updated dependency versions for consistency
## [2.2.6] - 2024-12-19
### Changed
- Incremented package version for npm publishing
- Updated dependency references
## [2.2.5] - 2024-12-19
### Changed
- Incremented package version for npm publishing
- Updated dependency references
## [2.2.4] - 2024-12-19
### Changed
- Incremented package version for npm publishing
- Updated dependency references
## [2.2.3] - 2024-12-19
### Changed
- Incremented package version for npm publishing
- Updated dependency references
## [2.2.2] - 2024-12-19
### Changed
- Incremented package version for npm publishing
- Updated dependency references
## [2.2.1] - 2024-12-19
### Changed
- Incremented package version for npm publishing
- Updated dependency references
## [2.2.0] - 2024-12-19
### Changed
- Initial version bump for new feature development
- Updated package configuration for npm publishing
## [1.3.0] - 2024-12-19
### Added
- Configurable upload system via props
- Image resize functionality with handles
- Clean HTML output (no editor artifacts)
- TypeScript definitions
- Prepared for npm package distribution
### Changed
- Improved image handling and upload workflow
- Enhanced build configuration for distribution
## [1.2.0] - 2024-12-19
### Added
- Advanced table styling and resizing capabilities
- Improved responsive design
- Performance optimizations
### Changed
- Enhanced table manipulation features
- Better mobile experience
## [1.1.0] - 2024-12-19
### Added
- Image upload via drag & drop and paste
- Enhanced link management
- Improved toolbar customization
### Changed
- Better image handling workflow
- Enhanced user interaction features
## [1.0.0] - 2024-12-19
### Added
- Initial release
- Core rich text editing features
- Tailwind CSS integration
- Basic toolbar and formatting options
---
## Migration Guide
### From v2.x to v3.0.0
The main changes in v3.0.0 are focused on improving the dropdown user experience:
1. **CSS Import**: Ensure you're importing the correct CSS file:
```jsx
// Before (if using old import)
import "dz-rich-text-editor/index.css";
// After
import "dz-rich-text-editor/dist/editor.css";
```
2. **Dropdown Behavior**: Dropdowns now automatically show selected values and have wider layouts for better readability.
3. **No Breaking Changes**: All existing functionality remains the same, with enhanced user experience.
### From v2.2.x to v2.3.2
The main changes in v2.3.2 are focused on improving the dropdown user experience:
1. **CSS Import**: Ensure you're importing the correct CSS file:
```jsx
// Before (if using old import)
import "dz-rich-text-editor/index.css";
// After
import "dz-rich-text-editor/dist/editor.css";
```
2. **Dropdown Behavior**: Dropdowns now automatically show selected values and have wider layouts for better readability.
3. **No Breaking Changes**: All existing functionality remains the same, with enhanced user experience.
### From v1.x to v2.x
Major changes in the v2.x series include:
1. **CSS Structure**: Moved from `index.css` to `dist/editor.css`
2. **Package Configuration**: Enhanced npm package setup
3. **Build Optimization**: Improved CSS bundling and distribution
4. **Responsive Design**: Better mobile and tablet support
## Contributing
When contributing to this project, please:
1. Update this changelog with your changes
2. Follow the existing format and style
3. Include both user-facing and technical changes
4. Group changes by type (Added, Changed, Fixed, Removed)
5. Provide clear descriptions of what changed and why