!MMqDFaFUehZZVwknKE:matrix.org

Draftail

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

Load older messages


Timestamp Message
19 Sep 2019
22:26:01@_slack_wagtailcms_UB1CW1P53:matrix.orgKalobTaulien changed their profile picture.
20 Sep 2019
15:11:29@_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:54@_slack_wagtailcms_U0ME9SGR1:matrix.orgThibaud I think it just depends on how exactly you would want to be able to override that
15:13:04@_slack_wagtailcms_U0ME9SGR1:matrix.orgThibaud https://github.com/wagtail/wagtail/blob/master/client/src/components/Draftail/index.js#L100
15:15:44@_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:16:10@_slack_wagtailcms_U0ME9SGR1:matrix.orgThibaud I’m sure there would be better ways to define this on the Python side
23 Sep 2019
13:33:37@_slack_wagtailcms_U0LQA2BFT:matrix.orgmattwestcott changed their profile picture.
15:18:37@_slack_wagtailcms_U4N6SF7K5:matrix.orgflipperpa changed their profile picture.
16:49:41@_slack_wagtailcms_UB1CW1P53:matrix.orgKalobTaulien changed their profile picture.
17:49:52@_slack_wagtailcms_UJHDYNXJP:matrix.orgEric Sherman changed their profile picture.
11 Dec 2019
00:06:22@pim:utwente.io@pim:utwente.io joined the room.
13 Dec 2019
23:58:08@clement:hackerspaces.beclement joined the room.
14 Dec 2019
15:29:09@ralph:matrix.allmende.ioralph joined the room.
16:27:43@alois:matrix.kiwifarms.netalois joined the room.
15 Dec 2019
19:51:48@brenda:nerdsin.spacebrenda joined the room.
16 Dec 2019
06:12:03@alexgleason:matrix.orgAlex Gleason changed their profile picture.
17 Dec 2019
22:25:26@ilsa:openintents.modular.imilsa joined the room.
22:47:39@martina:tchncs.demartina joined the room.
22 Dec 2019
12:32:28@nikolaj:ru-matrix.orgnikolaj joined the room.
21:35:32@louisa:privacytools.iolouisa joined the room.
23 Dec 2019
23:24:06@toralf:chat.datenburg.orgtoralf joined the room.
24 Dec 2019
14:19:41@friedrich:feneas.orgfriedrich joined the room.
14:26:14@kai:kde.orgkai joined the room.
25 Dec 2019
16:43:42@alexgleason:matrix.orgAlex Gleason changed their display name from Alex to Alex Gleason.
16:44:34@alexgleason:matrix.orgAlex Gleason changed their profile picture.
26 Dec 2019
13:09:36@andreas:tomesh.netandreas joined the room.
1 Jan 2020
23:29:59@aleksander:junta.plaleksander joined the room.
4 Jan 2020
13:52:05@dunja:sibnsk.netdunja joined the room.
6 Jan 2020
23:14:31@shiva:diasp.inshiva joined the room.
5 Feb 2020
14:26:24@pim:utwente.io@pim:utwente.io left the room.

There are no newer messages yet.


Back to Room List