!MMqDFaFUehZZVwknKE:matrix.org

Draftail

50 Members
A configurable rich text editor built with Draft.js https://www.draftail.org/21 Servers

Load older messages


SenderMessageTime
19 Sep 2019
@_slack_wagtailcms_UB1CW1P53:matrix.orgKalobTaulien changed their profile picture.22:26:01
20 Sep 2019
@_slack_wagtailcms_U0ME9SGR1:matrix.orgThibaud hmm as far as I can see currently the placeholder value is set once and for all, but it shouldn’t take too much work to make that configurable 15:11:29
@_slack_wagtailcms_U0ME9SGR1:matrix.orgThibaud I think it just depends on how exactly you would want to be able to override that 15:11:54
@_slack_wagtailcms_U0ME9SGR1:matrix.orgThibaud https://github.com/wagtail/wagtail/blob/master/client/src/components/Draftail/index.js#L100 15:13:04
@_slack_wagtailcms_U0ME9SGR1:matrix.orgThibaud a quick-and-dirty way would be to redeclare window.draftail.initEditor:
const overridenInitEditor = window.draftail.initEditor;
window.draftail.initEditor = (selector, options, currentScript) => {
  const newOptions = Object.assign({}, options, {
    placeholder: 'This is my placeholder',
  }); 
  overridenInitEditor(selector, newOptions, currentScript);
}
15:15:44
@_slack_wagtailcms_U0ME9SGR1:matrix.orgThibaud I’m sure there would be better ways to define this on the Python side 15:16:10
23 Sep 2019
@_slack_wagtailcms_U0LQA2BFT:matrix.orgmattwestcott changed their profile picture.13:33:37
@_slack_wagtailcms_U4N6SF7K5:matrix.orgflipperpa changed their profile picture.15:18:37
@_slack_wagtailcms_UB1CW1P53:matrix.orgKalobTaulien changed their profile picture.16:49:41
@_slack_wagtailcms_UJHDYNXJP:matrix.orgEric Sherman changed their profile picture.17:49:52
11 Dec 2019
@pim:utwente.io@pim:utwente.io joined the room.00:06:22
13 Dec 2019
@clement:hackerspaces.beclement joined the room.23:58:08
14 Dec 2019
@ralph:matrix.allmende.ioralph joined the room.15:29:09
@alois:matrix.kiwifarms.netalois joined the room.16:27:43
15 Dec 2019
@brenda:nerdsin.spacebrenda joined the room.19:51:48
16 Dec 2019
@alexgleason:matrix.orgAlex Gleason changed their profile picture.06:12:03
17 Dec 2019
@ilsa:openintents.modular.imilsa joined the room.22:25:26
@martina:tchncs.demartina joined the room.22:47:39
22 Dec 2019
@nikolaj:ru-matrix.orgnikolaj joined the room.12:32:28
@louisa:privacytools.io@louisa:privacytools.io joined the room.21:35:32
23 Dec 2019
@toralf:chat.datenburg.orgtoralf joined the room.23:24:06
24 Dec 2019
@friedrich:feneas.org@friedrich:feneas.org joined the room.14:19:41
@kai:kde.orgkai joined the room.14:26:14
25 Dec 2019
@alexgleason:matrix.orgAlex Gleason changed their display name from Alex to Alex Gleason.16:43:42
@alexgleason:matrix.orgAlex Gleason changed their profile picture.16:44:34
26 Dec 2019
@andreas:tomesh.netandreas joined the room.13:09:36
1 Jan 2020
@aleksander:junta.pl@aleksander:junta.pl joined the room.23:29:59
4 Jan 2020
@dunja:sibnsk.netdunja joined the room.13:52:05
6 Jan 2020
@shiva:diasp.inshiva joined the room.23:14:31
5 Feb 2020
@pim:utwente.io@pim:utwente.io left the room.14:26:24

Show newer messages


Back to Room ListRoom Version: 1