Re: [Wikitech-l] How to alter the Visual Editor configuration object for tool bar
On 2020-01-13 12:48, Egbe Eugene wrote: Yes it appears under "insert" -> 'more'. Isn't there a way to make it visible on the tool bar so it is easy and more visible to access? We don't really support doing that, and there isn't a nice way to do it. However, it is possible to change the toolbar configuration, if you really want. We do something similar to replace the default reference tools with the Citoid tools, so you could also do something similar. The relevant code is here: https://github.com/wikimedia/mediawiki-extensions-Citoid/blob/3c77db340bad572208f69b0cfb53a6c4dc069d5e/modules/ve.ui.Citoid.init.js#L113-L140 -- Bartosz Dziewoński ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] How to alter the Visual Editor configuration object for tool bar
Yes it appears under "insert" -> 'more'. Isn't there a way to make it visible on the tool bar so it is easy and more visible to access? On Mon, Jan 13, 2020 at 12:08 PM Robert Vogel wrote: > Hi! > > have you tried this? > > https://www.mediawiki.org/wiki/VisualEditor/Gadgets/Add_a_tool > > -- > Robert > > Von: Wikitech-l im Auftrag von > Egbe Eugene > Gesendet: Montag, 13. Januar 2020 10:21 > An: Wikimedia developers > Betreff: [Wikitech-l] How to alter the Visual Editor configuration object > for tool bar > > Hi All, > > How do I access the configuration object for the main toolbar of > VisualEditor and add a new option to this to represent a new tool? below is > the image of the tool bar I am referring to. > > Thanks, > -- > Eugene233 > ___ > Wikitech-l mailing list > Wikitech-l@lists.wikimedia.org > https://lists.wikimedia.org/mailman/listinfo/wikitech-l ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] How to alter the Visual Editor configuration object for tool bar
Hi! have you tried this? https://www.mediawiki.org/wiki/VisualEditor/Gadgets/Add_a_tool -- Robert Von: Wikitech-l im Auftrag von Egbe Eugene Gesendet: Montag, 13. Januar 2020 10:21 An: Wikimedia developers Betreff: [Wikitech-l] How to alter the Visual Editor configuration object for tool bar Hi All, How do I access the configuration object for the main toolbar of VisualEditor and add a new option to this to represent a new tool? below is the image of the tool bar I am referring to. Thanks, -- Eugene233 ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
[Wikitech-l] How to alter the Visual Editor configuration object for tool bar
Hi All, How do I access the configuration object for the main toolbar of VisualEditor and add a new option to this to represent a new tool? below is the image of the tool bar I am referring to. Thanks, -- Eugene233 ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l