ifox
ifox
TCTwill CMS
Created by Braunson on 2/27/2025 in #👊support
Sticky WYSIWYG toolbar + image upload?
Curious to hear more about the use case. why would FE devs not need guardrails from the backend tool they are using?
9 replies
TCTwill CMS
Created by Braunson on 2/27/2025 in #👊support
Sticky WYSIWYG toolbar + image upload?
at some point we'll work on integrating something like lexical so we can do blocks within the editor itself
9 replies
TCTwill CMS
Created by Braunson on 2/27/2025 in #👊support
Sticky WYSIWYG toolbar + image upload?
but by default it stores it as base64 in db which is... pretty bad
9 replies
TCTwill CMS
Created by Braunson on 2/27/2025 in #👊support
Sticky WYSIWYG toolbar + image upload?
I mean it is technically possible, you could have your own tiptap vue component where you enable the image feature
9 replies
TCTwill CMS
Created by Braunson on 2/27/2025 in #👊support
Sticky WYSIWYG toolbar + image upload?
A text block followed by an image block followed by a text block would produce the same results with better data integrity and control
9 replies
TCTwill CMS
Created by Braunson on 2/27/2025 in #👊support
Sticky WYSIWYG toolbar + image upload?
Hi @Braunson the limitHeight boolean on the field is kinda what you're looking for re:sticky. Inserting images in a wysiwyg field is a bad practice which is why it is not supported. You should use a block editor.
9 replies
TCTwill CMS
Created by Constant Variable on 1/22/2025 in #👊support
Cannot reorder media in latest releases
Fixed in Twill 3.5.0! Sorry for the delay again.
9 replies
TCTwill CMS
Created by Constant Variable on 1/22/2025 in #👊support
Cannot reorder media in latest releases
Hi @Constant Variable we're working on it. There was some misunderstanding about the severity of the issue and my team has been very busy with major new Twill client projects in the past few months. I was initially thinking about the next release being about Laravel 12 support, but there are dependencies like laravel-translatable that are not compatible yet so I am prioritizing a release with this fix now.
9 replies
TCTwill CMS
Created by Mike on 12/2/2024 in #👊support
Browser item links
Hi @Mike you can define an accessor for adminEditUrl in your browser models to fix this, or define route prefixes under twill.block_editor.browser_route_prefixes. Did you group your twill module under some prefixes? If you didn't this should work automatically so let me know.
2 replies
TCTwill CMS
Created by xnvert on 10/31/2024 in #👊support
Is it possible to create a new Media Library Bucket in Twill 3
Multiple tags filtering is something we have been working on, yes! You haven't missed anything, it isn't currently available.
8 replies
TCTwill CMS
Created by moussaclarke on 11/20/2024 in #👊support
Validate file uploads in block in Twill 3
Correct
5 replies
TCTwill CMS
Created by xnvert on 10/31/2024 in #👊support
Is it possible to create a new Media Library Bucket in Twill 3
Hi @FL260 we haven't implemented folders yet and we're not sure we want to. Folders are a fixed structure that can go out of control and create duplicate instances of the same media in multiple folders. Tags and other metadata are a better organization principle in modern digital management software. A media can be attached to multiple tags without duplication. We could render the tags as folder visually, but I don't think we want a file explorer kind of folders, where they can be nested. We are in the process of developing a custom DAM with Twill, so this is definitely something we are thinking about.
8 replies
TCTwill CMS
Created by moussaclarke on 11/20/2024 in #👊support
Validate file uploads in block in Twill 3
Hi @moussaclarke there may be a way to make it work but not officially supported. @antonio.a17 recently worked on a PR to improve blocks/repeater validation, but I don't think translated files have been considered specifically.
5 replies
TCTwill CMS
Created by toncek on 11/7/2024 in #👊support
Slug creation with special letters
so we can remove that incomplete slugify function
8 replies
TCTwill CMS
Created by toncek on 11/7/2024 in #👊support
Slug creation with special letters
we are aiming to unify the slug generation to be only happening in the backend at some point
8 replies
TCTwill CMS
Created by toncek on 11/7/2024 in #👊support
Slug creation with special letters
feel free to PR the change too
8 replies
TCTwill CMS
Created by toncek on 11/7/2024 in #👊support
Slug creation with special letters
To avoid the full built file hardcoded, here's what I would do in this case: - Only copy the filters.js file in your codebase https://github.com/area17/twill/blob/53f59c3623fca6f590baa3e0a260dd1edfdc187a/frontend/js/utils/filters.js#L15 - write a composer or npm script that copies it from your project to its location inside vendor/area17/twill - run php artisan twill:build in that script or after running it
8 replies
TCTwill CMS
Created by magius on 10/30/2024 in #👊support
Custom
Yes, beforeSave, or a model setter
18 replies
TCTwill CMS
Created by xnvert on 10/31/2024 in #👊support
Is it possible to create a new Media Library Bucket in Twill 3
With this approach you can choose to add a field to the medias table or use a separate model all together
8 replies
TCTwill CMS
Created by xnvert on 10/31/2024 in #👊support
Is it possible to create a new Media Library Bucket in Twill 3
Hi @xnvert I'm really sorry for the delay, just seeing this. I was actually traveling and met with Nikhil from AIC at a conference a couple weeks ago! There is a way to add new tabs to the media library, with full control over the source of the items. In the main Twill layout, you'll find that the tabs are defined in the Vuex store, like this: https://github.com/area17/twill/blob/3.x/views%2Flayouts%2Fmain.blade.php#L112-L133 So if you push another type there, you will be able to control the endpoint it uses to fetch items.
8 replies