Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Laravel Wweditor

Laravel Wweditor Laravel Package

softbery/laravel-wweditor

Zaawansowany edytor WYSIWYG dla Laravela (alternatywa dla CKEditor) z komponentem Blade, autozapisem, trybami WYSIWYG/HTML/CSS/podgląd, uploadem i storage, konfiguracją przez plik i .env oraz trasami i middleware.

View on GitHub
Deep Wiki
Context7

At a glance

Frequently asked questions about Laravel Wweditor
What Laravel versions does softbery/laravel-wweditor support?
The package is designed for modern Laravel versions (likely 9.x or 10.x based on typical release patterns), but the README does not explicitly list supported versions. Always check the `composer.json` or GitHub releases for version constraints. If unsure, test compatibility with your Laravel version before production use.
How do I configure wwEditor to use S3 storage instead of local files?
Edit the `config/wweditor.php` file and set the `disk` parameter to `'s3'` (or your custom disk name). Ensure your Laravel filesystem configuration (`config/filesystems.php`) is properly set up for S3. The package relies on Laravel’s storage system, so no additional code changes are needed beyond configuration.
Can I disable auto-save for specific editors or users?
Auto-save is controlled globally via `config/wweditor.php` (`auto_save` setting) or `.env` (`WWEDITOR_AUTO_SAVE`). To disable it for specific editors, you’ll need to modify the Blade component or JavaScript initialization to override the default behavior. There’s no built-in per-user or per-editor toggle in the current documentation.
Is there a way to sanitize user input before saving to prevent XSS attacks?
The package does not include built-in sanitization, so you must sanitize content before storing it. Use Laravel’s `Str::of()` with `clean()` or a library like HTML Purifier in your controller or middleware. Always sanitize rich-text content to mitigate XSS risks, especially if user-generated content is rendered later.
How do I customize the toolbar buttons or add plugins to wwEditor?
The package allows toolbar customization via the `config/wweditor.php` file, where you can define enabled/disabled features. For plugins or advanced UI changes, you may need to extend the JavaScript initialization or modify the published assets. Check the `resources/views/vendor/wweditor` directory for template overrides.
What happens if the wwEditor upstream library stops being maintained?
Since this package depends on an external library (wwEditor), its long-term viability is tied to that project. If wwEditor is abandoned, you’ll need to fork the package, switch to an alternative editor (e.g., CKEditor or TinyMCE), or replace the dependency. Monitor the GitHub repository for updates or consider alternatives if maintenance is a concern.
Can I use wwEditor in a non-English Laravel application?
The package does not explicitly mention localization support in the README. If wwEditor itself supports multiple languages, you may need to configure it via JavaScript or CSS. Test the editor in your target language to ensure UI elements (toolbar labels, menus) display correctly. No Laravel-specific localization features are documented.
How do I migrate existing content from another editor (e.g., CKEditor) to wwEditor?
Since wwEditor stores content in Laravel’s filesystem, you’ll need to manually copy or convert existing files from your old editor’s storage location to the `storage/app/wweditor` (or configured disk) directory. Ensure file permissions are set correctly. There’s no built-in migration tool, so script the process if dealing with large volumes of content.
Are there performance benchmarks or recommendations for high-traffic sites?
The package lacks published benchmarks, but auto-save functionality could impact performance under heavy load due to frequent POST requests. Mitigate this by increasing `auto_save_interval` in `.env` or implementing rate limiting on the `/wweditor/save` endpoint. Test with tools like Lighthouse to measure asset loading times and server response.
What alternatives to wwEditor exist for Laravel, and why choose this package?
Popular alternatives include CKEditor, TinyMCE, and Quill, all of which have larger communities and active maintenance. This package stands out for its Laravel-native integration (Blade components, service provider, and storage system) and unique features like CSS editing mode. However, its lack of stars, dependents, and recent activity may make alternatives more reliable for production.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
croct/coding-standard
croct/plug-php
nqxcode/phpmorphy
boundwize/pyrameter
develia/commons
dmstr/symfony-system-resources-bundle
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
renatomarinho/laravel-page-speed
develia/geo-bundle
austinheap/laravel-database-encryption
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
imbo/imbo-coding-standard
visualbuilder/filament-lottie
servicioslineaonce/starter-kit
atomcoder/laravel-reorderable
irajul/filament-shadcn-theme
agtp/agtp-php