Crafted blocks, limitless design.
A comprehensive WordPress Gutenberg enhancement plugin that transforms your block editor experience. Forjeon provides advanced design controls, professional blocks, and a powerful toolbar interface that rival premium page builders while maintaining WordPress native compatibility.
Forjeon aims to be the ultimate Gutenberg enhancement suite - providing all the advanced features found in premium plugins like EditorPlus, but with superior organization, performance, and user experience through our innovative dedicated toolbar interface.
- π¨ Forjeon Toolbar - Floating/draggable toolbar with tabbed interface accessible via header button
- Advanced Typography Controls - Fine-tune letter spacing, line height, and text shadows with real-time preview
- Professional Tabs Block - Multi-style tabs with responsive accordion behavior and smooth animations
- Header Integration - Native WordPress editor header button (π¨ Forjeon) for seamless access
- Clean Build System - Zero-warning development environment with optimized Sass configuration
- Enhanced UI Components - Design system with tokens, reusable components, and icon integration
- Advanced Design Controls - Background, border, spacing, shadow, and visibility controls
- Layout Management - Flexbox, Grid, positioning, and responsive controls
- Animation System - Entrance animations, hover effects, scroll triggers, and custom keyframes
- Professional Block Library - 20+ blocks including Accordion, Progress, Counter, Rating, Countdown, Gallery+, Video Player, and more
- Advanced Features - Custom CSS editor, conditional logic, performance optimization, and global settings
- PSR-4 Autoloading - Modern PHP standards for clean code organization
- Modular Architecture - Extensible plugin structure for easy customization
- WordPress Coding Standards - Built-in linting and code quality tools
- Composer Integration - Modern dependency management
- PHP: 8.2 or higher
- WordPress: 6.5 or higher
- Node.js: 18+ (for development)
- Modern Browser: Chrome 90+, Firefox 88+, Safari 14+, Edge 90+
composer require forjeon/forjeon- Download the plugin files
- Upload to
/wp-content/plugins/forjeon/ - Activate the plugin through the 'Plugins' menu in WordPress
- Node.js 18+ and npm
- Composer
- PHP 8.2+
-
Clone the repository
git clone <repository-url> cd forjeon
-
Install PHP dependencies
composer install
-
Install Node.js dependencies
npm install
-
Build assets
npm run build
# Build for production (zero warnings!)
npm run build
# Development mode with watch
npm run start
# Run tests
composer test
# Run tests with coverage
composer test:coverage
# Lint code
composer lint
# Auto-fix linting issues
composer lint:fix
# Run PHPStan analysis
composer phpstan
# Security check
composer securityForjeon follows a scalable, modular architecture designed for maintainability and extensibility:
includes/
βββ Core/ # Core plugin functionality
β βββ Plugin.php # Main plugin class (singleton)
βββ Toolbar/ # Toolbar backend management
βββ Controls/ # Organized control systems
β βββ Design/ # Background, border, spacing, shadow
β βββ Typography/ # Font, size, weight, spacing controls
β βββ Layout/ # Position, flexbox, grid, dimensions
β βββ Effects/ # Animations, hover, filters, transforms
βββ Blocks/ # Block PHP handlers
β βββ Content/ # Tabs, Accordion, Testimonial, Pricing
β βββ Interactive/ # Progress, Counter, Rating, Countdown
β βββ Media/ # Gallery, Video, Audio, Icon, Before/After
β βββ Navigation/ # Breadcrumb, TOC, Social, Back-to-Top
βββ Utilities/ # Shared utilities
β βββ CSS_Generator.php # Dynamic CSS generation
β βββ Font_Manager.php # Google Fonts integration
β βββ Performance_Monitor.php # Performance tracking
βββ Legacy/ # Backward compatibility
βββ Typography_Controls.php # Original typography system
βββ Block_Extensions.php # Original block extensions
src/
βββ toolbar/ # Main toolbar system
β βββ components/ # Reusable UI components
β βββ tabs/ # Individual toolbar tabs (Design, Typography, etc.)
β βββ controls/ # Control components organized by type
β βββ hooks/ # Custom React hooks
β βββ utils/ # Toolbar utilities
βββ blocks/ # Block JavaScript
β βββ content/ # Content blocks (tabs, accordion, etc.)
β βββ interactive/ # Interactive blocks
β βββ media/ # Media blocks
β βββ navigation/ # Navigation blocks
βββ styles/ # SCSS organization
β βββ variables/ # Design tokens and variables
β βββ mixins/ # Reusable SCSS mixins
β βββ components/ # Component-specific styles
β βββ blocks/ # Block-specific styles
βββ utils/ # Shared JavaScript utilities
- ποΈ Scalable - Easy to add new blocks, controls, and features
- π§ Maintainable - Clear separation of concerns and logical organization
- π₯ Team-Friendly - Multiple developers can work without conflicts
- β‘ Performance-Optimized - Code splitting and lazy loading support
- π Standards-Compliant - Follows WordPress and modern development best practices
- Deliver feature-rich, design-flexible sites faster
- Reduce dependency on multiple plugins
- Maintain consistent design across projects
- Create engaging layouts without developer help
- Add animations and interactive elements
- Maintain professional appearance
- Extensible plugin architecture with PSR-4 autoloading
- Modern PHP 8.2+ and React 18+ development stack
- Comprehensive testing and code quality tools
- Clean, well-documented, maintainable codebase
- Plugin restructure and organization
- Advanced typography controls
- Professional tabs block
- Core toolbar infrastructure β
- Floating/dockable toolbar system β
- Tab navigation system β
- BONUS: Header button integration β
- BONUS: Clean build system β
- Design controls (background, border, spacing, shadow)
- Enhanced typography with Google Fonts
- Layout controls (position, flexbox, grid)
- Real-time preview system
- Animation system (entrance, hover, scroll-triggered)
- Enhanced block library (accordion, progress, counter, rating)
- Interactive elements and micro-interactions
- Media blocks (gallery+, video player, before/after)
- Content blocks (testimonial, pricing, team, timeline)
- Navigation blocks (breadcrumb, TOC, social share)
- Custom CSS editor with syntax highlighting
- Conditional logic and dynamic content
- Performance optimization tools
- Global settings management
- Import/export system
- Design system sharing
- Team collaboration features
- Marketplace integration
- Install and activate the Forjeon plugin
- Create a new post/page and look for the π¨ Forjeon button in the editor header
- Click the Forjeon button to open the floating toolbar
- Explore typography controls - Select any text block and use the Typography tab
- Add professional blocks - Insert a Tabs block from the Forjeon category
- π¨ Forjeon Toolbar - Click the header button to access a floating, draggable toolbar with tabbed interface
- Advanced Typography Controls - Real-time preview for letter spacing, line height, and text shadow adjustments
- Professional Tabs Block - Choose from Default, Pills, or Underline styles with responsive accordion behavior
- Header Integration - Seamless access via native WordPress editor header button (no sidebar clutter)
- Drag & Drop Interface - Move the toolbar anywhere within the viewport for optimal workflow
Configuration through WordPress admin settings (coming in Phase 2):
- Feature Toggles - Enable/disable specific blocks or controls
- Design Standards - Set default typography, spacing, and color schemes
- Performance Options - Control asset loading and optimization
- Toolbar Settings - Customize toolbar position, behavior, and appearance
We welcome contributions! Key areas for contribution:
- Feature Development - Help implement Phase 1-6 roadmap features
- Testing & QA - Cross-browser testing, accessibility testing
- Documentation - User guides, developer documentation, code examples
- Design & UX - Interface improvements, user experience enhancements
- Follow WordPress coding standards
- Use PSR-4 autoloading for PHP classes
- Write comprehensive tests for new features
- Maintain backward compatibility
Licensed under GPL v2 or later - see the LICENSE file for details.
- Plugin Documentation - See
/docs/directory for technical documentation - Implementation Plan - See
/docs/IMPLEMENTATION_PLAN.mdfor detailed roadmap - Plugin Structure - See
/docs/PLUGIN_STRUCTURE.mdfor architecture guide - Issues & Bugs - Report via GitHub Issues
- Feature Requests - Share ideas via GitHub Discussions
The Forjeon toolbar is accessed via a π¨ Forjeon button integrated directly into the WordPress editor header using DOM manipulation:
- Target:
.editor-header__settingsclass for precise placement - Technology: React 18
createRootAPI for modern component mounting - Positioning: First button in the right-side settings area
- State Sync: Custom events for toolbar visibility synchronization
- Draggable Interface: Full viewport drag with boundary detection
- Responsive Design: Adapts to different screen sizes and orientations
- State Management: React Context API for centralized state
- Tab System: Modular tab architecture for organized controls
- Zero Warnings: Optimized webpack configuration with Sass deprecation handling
- Modern Standards: ES6+, React 18, WordPress coding standards
- Performance: Code splitting and optimized bundle sizes
- Development: Hot reload and clean development environment
- Alt + F: Toggle Forjeon toolbar visibility
- Escape: Close toolbar when open
- Click & Drag: Move toolbar anywhere within viewport
- WordPress community for the amazing Gutenberg editor
- Contributors and users who help improve Forjeon
- The open-source community for inspiration and tools
Forjeon - Empowering WordPress creators with advanced Gutenberg capabilities.