Kyrne Has the new update solved the permission denied issue?
FriendsOfFlarum Drafts
sakibarifin It resolved the issue for me
- Edited
I'm not sure if it it's just me but a lot of the time a draft will not go away after I posted a reply. I'm using pusher together with drafts with automatic draft saving every 6 seconds.
nixpc I think I'm experiencing the same here since we enabled the extension on Discuss. My drafts are filling up even though I didn't manually save any.
[deleted]
clarkwinkelmann Same here on my forum !
There seems to be a issue when using Polls and Dafts: a long title will get behind the save button. I was about to open an issue on GitHub, but I don't know if this should be on Drafts or Polls...
- Edited
I tried to fix it with these lines of LESS code, I'm not sure if this is the best way to do it though...
@media @tablet-up {
.ComposerBody-header {
// restets the default value, the margin will come from each individual element, this way when there
// is a second line, the elements have a gap betwen them.
margin: 0;
& > li {
margin-bottom: 10px;
}
// We want to prevent the items from this container to go too much to the right.
// Therefore we add a floated element that will make elements that don't fit break to the next line.
&:before {
content: '';
float: right;
width: 144px; // width of `$('.Composer-controls')`
height: 1px; // if not set, the :before element has no effect
visibility: hidden;
}
}
}
0.1.13
- Enable extensions to add extra non-relational data to drafts
After updating, please run php flarum migrate
in your Flarum root directory.
Can we have a button to let user delete all draft at once?
- Edited
@Kyrne Loading icon that inside of draft window is appearing when I click discard removing article.
Having some issues today with this extension today:
TypeError: Cannot read property 'substring' of undefined
at truncate(webpack://@flarum/core/./src/common/utils/string.js:10:44)
at ? (webpack://@fof/drafts/./src/forum/components/DraftsList.js:82:90)
at Array.map(<anonymous>)
at view(webpack://@fof/drafts/./src/forum/components/DraftsList.js:46:36)
at render(webpack://@flarum/core/./src/common/Component.js:100:61)
at getMenu(webpack://@flarum/core/./src/forum/components/NotificationsDropdown.js:47:35)
at view(webpack://@flarum/core/./src/common/components/Dropdown.js:42:15)
at render(webpack://@flarum/core/./src/common/Component.js:100:61)
at view(webpack://@flarum/core/./src/common/Component.js:186:24)
at checkView(webpack://@flarum/core/./node_modules/mithril/mithril.js:806:16)
at markViews(webpack://@flarum/core/./node_modules/mithril/mithril.js:822:11)
at buildObject(webpack://@flarum/core/./node_modules/mithril/mithril.js:847:10)
at build(webpack://@flarum/core/./node_modules/mithril/mithril.js:1000:11)
at buildArray(webpack://@flarum/core/./node_modules/mithril/mithril.js:630:15)
at build(webpack://@flarum/core/./node_modules/mithril/mithril.js:989:11)
at buildUpdatedNode(webpack://@flarum/core/./node_modules/mithril/mithril.js:469:21)
at buildObject(webpack://@flarum/core/./node_modules/mithril/mithril.js:891:11)
at build(webpack://@flarum/core/./node_modules/mithril/mithril.js:1000:11)
at buildArray(webpack://@flarum/core/./node_modules/mithril/mithril.js:630:15)
at build(webpack://@flarum/core/./node_modules/mithril/mithril.js:989:11)
at buildUpdatedNode(webpack://@flarum/core/./node_modules/mithril/mithril.js:469:21)
at buildObject(webpack://@flarum/core/./node_modules/mithril/mithril.js:891:11)
at build(webpack://@flarum/core/./node_modules/mithril/mithril.js:1000:11)
at render(webpack://@flarum/core/./node_modules/mithril/mithril.js:1340:19)
at f(webpack://@flarum/core/./node_modules/mithril/mithril.js:1567:7)
at forEach(webpack://@flarum/core/./node_modules/mithril/mithril.js:189:39)
at redraw(webpack://@flarum/core/./node_modules/mithril/mithril.js:1563:3)
0.2.0
- Beta 14 ready
Updating
composer require fof/drafts
php flarum cache:clear
karaok omg Thank youu!!! so many extensions suddently updated to beta 14
(I hope the next one on the list is POLLS >.<)