Conversation
Sync updates
Update `package.json`
Update the docs
Change version
- Added node_modules/ to exclude Node.js dependencies - Added .vscode/ to exclude editor-specific settings
- Added Jest testing framework configuration - Included test scripts for development workflow - Added Babel and Jest-related dev dependencies - Improved package.json formatting and structure
- Completely redesigned modal dialog system with improved styling - Enhanced color picker with better layout and recent colors - Added focus states and hover effects for better accessibility - Improved form controls and button styling - Added responsive design for modals and color picker - Standardized color and spacing variables for consistency
- Standardized plugin initialization and method formatting - Improved code indentation and consistency - Fixed export statements at the end of the file - Enhanced link insertion plugin with better selection handling - Updated table plugin to use consistent code style - Added proper JSDoc comments for better documentation
…ugin.js - Removed old highlight plugin file that was using a different naming convention - The functionality has been moved to HighlightPlugin.js with improved implementation
- Added CI workflow that runs on push and pull requests to main and v2.x branches - Sets up Node.js 20 environment - Installs project dependencies - Runs test suite using Jest
- Added Babel configuration for modern JavaScript support - Added Jest configuration with JSDOM environment - Configured test file matching patterns - Set up transformation for modern JavaScript features
- Added demo.html as the basic implementation example - Added demo-refactored.html with enhanced UI and documentation - Included Bootstrap Icons for better visual representation - Added responsive design and styling improvements - Included form submission handling example
- Added index.js as the main entry point for the package - Exported core MaxiEditor class and all plugins - Made core utilities available for advanced usage - Set up named and default exports for better module compatibility
- Added alignment.js for text alignment commands - Added formatting.js for text formatting commands - Added lists.js for list management commands - Created index.js as a command module entry point - Implemented consistent command interface across modules
- Added MaxiEditor.js as the main editor class - Implemented CommandRegistry for managing editor commands - Added History module for undo/redo functionality - Created Selection module for handling text selections - Implemented Sanitizer for secure HTML processing - Set up the foundation for the rich text editor
- Added test setup with Jest and JSDOM - Implemented basic initialization tests - Added tests for configuration options - Set up test environment for future test expansion
- Added color palette configuration option - Integrated KeyboardHandler for keyboard shortcuts - Improved paste handling with configurable options - Added getStats() method for content statistics - Enhanced destroy() method with null checks - Added support for pasteAsPlainText and preserveNewlines options - Improved error handling in paste operations
- Added persistent color picker instance - Improved text selection handling with better error recovery - Integrated with editor's color palette configuration - Added proper cleanup on editor destroy - Enhanced UI with better positioning relative to highlight button
- Added a modal dialog for table insertion with form inputs - Improved user experience with proper input validation - Added keyboard navigation (Enter to submit) - Maintained backward compatibility with both 'table' and 'insertTable' commands - Added better error handling and user feedback - Improved table styling and spacing
- Added exports for new plugin modules: TextColorPlugin, BackgroundColorPlugin, and ImageUploadPlugin
- Added support for both element and coordinate-based positioning - Improved positioning to prevent going off-screen - Added destroy() method for proper cleanup - Increased recent colors limit to 8 - Maintained backward compatibility with old constructor - Added smart positioning relative to target element
- Added support for custom buttons with individual click handlers - Maintained backward compatibility with default OK/Cancel buttons - Improved button styling with support for custom classes - Enhanced event handling for better reliability - Added proper cleanup of event listeners
- Added tests for initialization and configuration - Added content management tests (set/get content, sanitization) - Added statistics calculation tests - Added command execution tests - Added cleanup and destruction tests - Added configuration validation tests
- Added table, text color, background color, and image icons - Added corresponding tooltips for new toolbar items - Included both primary and alternative command names for better compatibility
- Added TextColorPlugin, BackgroundColorPlugin, and ImageUploadPlugin to exports - Ensures all plugins are available for import from the main package
- Added high contrast mode support - Improved focus states for keyboard navigation - Added screen reader utilities - Added reduced motion support - Styled table plugin modal components - Added primary/secondary button styles - Improved form input styling
- Document all new features, improvements, and breaking changes - Include migration guide from v1.x to v2.0 - Add version history with semantic versioning - Detail security, performance, and accessibility improvements
- Add detailed setup and development workflow - Document code style and testing guidelines - Include plugin development best practices - Add PR and issue reporting templates - Provide code examples and templates for consistency
- Create standalone demo page using minified production build - Include example configuration and usage - Add content stats display functionality - Style with clean, responsive design
…ation - Add ACCESSIBILITY.md with WCAG 2.1 compliance details - Include KEYBOARD_SHORTCUTS.md with complete shortcut reference - Document screen reader support and testing procedures - Add configuration options and best practices
- Add tests for plugin initialization and command registration - Test content workflow and statistics calculation - Include sanitization and error handling tests - Add toolbar and configuration integration tests - Test proper cleanup on destroy
- Add support for default and custom keyboard shortcuts - Include Mac/Windows compatibility with Cmd/Ctrl normalization - Add methods for managing shortcuts at runtime - Implement proper event handling and cleanup - Support querying registered shortcuts
- Implemented BackgroundColorPlugin with color picker integration - Added support for changing text background color in the editor - Included cleanup on editor destruction to prevent memory leaks - Integrated with existing editor command system
- Added image upload functionality with file type and size validation - Implemented image preview modal with alt text and resizing options - Included configuration for max dimensions and file size limits - Added error handling and user feedback for uploads
- Implemented TextColorPlugin with color picker integration - Added support for changing text color in the editor - Included cleanup on editor destruction to prevent memory leaks - Integrated with existing editor command system
- Added sample HTML content for various test cases - Included text samples and configuration objects - Added test stats and utility data - Prepared test data for unit and integration testing
- Implemented A11yHelper class with live region support - Added methods for screen reader announcements and focus management - Included keyboard navigation and focus trap utilities - Enhanced form controls with proper ARIA attributes
- Created ErrorHandler class with error type definitions - Added user-friendly error messages and logging - Included error reporting and recovery mechanisms - Integrated with existing editor error handling
- Created test page for memory leak detection - Added test cases for editor creation/destruction - Included memory usage monitoring and reporting - Added performance testing capabilities
- Added webpack config for production builds - Configured JS and CSS minification - Set up proper library exports - Added source map generation
feat: Enhance Editor with New Features and Improved Tooling
refactor: clean up
fix: add token
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.