Comments (11)
Hm I can't figure it out either.. Seems not to work at all, even with a scrollableContainer
set to it's parent container element with ID #content
.
I will contact Froala team about it.
from craft-3-froala-wysiwyg.
I understand. I have to figure that out. Hopefully I can get to it tomorrow. Hang on!
from craft-3-froala-wysiwyg.
Thanks for looking into this one. I’ll let the client know this is being looked into. Again thanks for your support.
from craft-3-froala-wysiwyg.
Hmm yeah it’s a weird one 🤷♂️
from craft-3-froala-wysiwyg.
Editor itself cannot be set as the scrolalbleContainer.
You could put there a parent which is scrollable.
Please find a simple example here: https://jsfiddle.net/dejan_m/Lzq1b3jn/4/
Best, Dejan
from craft-3-froala-wysiwyg.
Thanks @dejanmartinovic ! I understand. But I tried with it's parent element as scrollable container but that didn't work either
from craft-3-froala-wysiwyg.
I’m sick today but I might give this a looksie tomorrow if I’m feeling better. I did see that it does initialises the sticky toolbar just doesn’t trigger it might need some additional code.
Also IDs won’t work as my case we use it inside a Matrix field and which need to support multiple text blocks. This also has another issue where it could have multiple of toolbars layered But this said if the toolbar stickiness is only till the bottom of the container this could be fine.
from craft-3-froala-wysiwyg.
@reganlawton I am testing it with the #content ID of Craft. It's the container for all fields. But that's not working either for a normal field (not matrix).
Ps. Hopefully you get better soon
from craft-3-froala-wysiwyg.
Yeah no have slept through the worst of it. I’ll have a look at it tomorrow I might go into the office early and see what I can do.
from craft-3-froala-wysiwyg.
FYI; I can't get it to work. I guess it has something to do with how Craft's CP is working (css's flex-box) regarding how Froala's editor is checking the scrolling position. I can imagine this is annoying, but I am getting a little bit out of options.
from craft-3-froala-wysiwyg.
@bertoost I haven't gotten a chance to troubleshoot with the new information, been smashed with projects lately. Let's hope I get more luck I'm on the project this is affecting later this week and I'll assign some out of office hours towards it.
from craft-3-froala-wysiwyg.
Related Issues (17)
- Froala editor settings config file per field
- Media library not working in craft 3.1 HOT 1
- Unable to install HOT 26
- Retrieving HTML within a Craft API attempts to render HTML, which breaks some things. HOT 5
- YouTube embed stripped out with HTML Purifier is on.
- This plugin is not displaying all the Froala Plugins
- Uploaded images not saving HOT 3
- Saving entry with control+s doesn’t work
- Browsing assets loads a generic group of images instead of customer assets library HOT 1
- Table previews are not displaying correctly
- Custom Craft plugins (Asset and Entry/URL selection) not working with Froala v3 and v4 HOT 1
- Craft 4 Support
- Removing global plugins does not remove features from editor HOT 4
- Insert an image in a froala field will always insert the image in the last field typed froala.
- Plugin does not generate a config folder or example .json files for Custom Editor Config HOT 2
- Image and File sources are not properly configured for this field. HOT 6
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 craft-3-froala-wysiwyg.