Comments (3)
This issue is related to the behavior of the editor itself. It has something like a dictionary of proper usage that auto-replace tags like b -> strong, i -> em ... etc.
You can override that by publishing the package's view:
php artisan vendor:publish --tage=filament-forms-tinyeditor-views
then add valid_elements: 'b,i,b/strong,i/em',
after tinymce.init({
.
Maybe will add a feature in a future release to configure this from the configuration file instead of publishing and modifying the view.
from filament-forms-tinyeditor.
Ah – a case of ‘it’s not a bug, it’s a feature (but it’s actually a bug)’ if ever there was one!
Publishing the view and adding those valid_elements
rules almost fixed it, but of course removed all other valid elements. Adding them as extended_valid_elements
instead made everything work perfectly. Thank you!
from filament-forms-tinyeditor.
You're welcome
from filament-forms-tinyeditor.
Related Issues (20)
- [Bug]: HOT 1
- [Bug]: Data is not saved HOT 1
- [Bug]: direction doesn't change when locale change using spatie-laravel-translatable-plugin ( for RTL languages) HOT 4
- [Bug]: Undefined variable $getHintAction HOT 3
- Not compatible with panel spa ->spa() HOT 3
- [Bug]: not work required check
- [Bug]: Image saved in db doesn't work while edit works HOT 5
- [Bug]: Copy-paste bullet points not working correctly in Chrome Browser HOT 1
- Any change the TinyMce version will be updated to V6 ? HOT 4
- [Bug]: Problems using TinyEditor inside Repeater in RelationManager HOT 6
- [Bug]: The fullscreen mode is not working properly HOT 9
- [Question]: How can i resize image after uploading? HOT 3
- [Bug]: Images are not deleting from livewire temporary folder HOT 2
- [Bug]: Editor in modal break when opened second time HOT 6
- [Bug]: TinyEditor field does not appear on production machine HOT 3
- [Bug]: Not properly load with spatie-laravel-translatable-plugin after cople changing languges HOT 7
- Error when displaying image on s3 disk HOT 2
- [Bug]: No dark mode error HOT 2
- [Bug]: Cannot focus on field inside TinyEditor toolbox modal HOT 2
- [Bug]: cannot see editor in page HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from filament-forms-tinyeditor.