Hi Kevin, It sounds like an old fashioned WYSIWYG editor will do the job as well. Wicket-Bootstrap provides integration with https://github.com/summernote/summernote Demo: http://wb-mgrigorov.rhcloud.com/summernote Demo code: https://github.com/l0rdn1kk0n/wicket-bootstrap/blob/master/bootstrap-samples/src/main/java/de/agilecoders/wicket/samples/pages/SummernotePage.java
Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Sat, Nov 21, 2015 at 8:42 AM, Kevin Meyer <[email protected]> wrote: > What I'm after in the editor is just the basics: bold, italic, indent. > Lists (bullet and numbered) are optional. Since the doc will probably be > printed, even embedded links are not needed immediately, and definitely no > image support. > So perhaps an existing simple Markdown editor component can be hacked to > produce asciidoctor? > But I will start with the basics and integrate an editor later. > Sure, I'll add the factory and components to our codebase when done. > Kevin > > On 21 November 2015 08:26:08 CET, Dan Haywood < > [email protected]> wrote: > >Having said all that, I couldn't find a nice Asciidoctor embeddable > >editor, > >whereas EpicEditor [1] looks like it would be really easy to make into > >a > >Wicket component for the framework. > > > >I could imagine us adding a new attribute to > >@PropertyLayout(type=MARKDOWN) > >or similar, with facet factory to pick this up and install as a hint. > > > >[1] http://epiceditor.com/ > > > >On 20 November 2015 at 22:20, Dan Haywood > ><[email protected]> > >wrote: > > > >> I don't think anyone has, but even so, I'd look to integrating with > >> Asciidoctor rather than markdown. I think there's a much better > >chance of > >> being able to create an embeddable Wicket widget that could then be > >used to > >> export to PDF. And Dan Allen, who heads up the project, is > >super-helpful. > >> > >> I'd love to see this exist, happy to provide support if anyone wants > >to > >> step up to do the work. > >> > >> Dan. > >> Hi guys, > >> Has anyone implemented a markdown editor integration with Isis? > >> > >> I'm about hack together a proof of concept report generator that > >would be > >> greatly enhanced if I could expose a markdown editor (to provide a > >rich > >> WYSIWYG editor for formatted text) for a memo-like property. > >> > >> I also guess I would declare that property as a CLOB? > >> > >> The PoC is to let me create and edit a project summary object, and > >group > >> these summaries according to a few attributes (e.g. client or project > >> category). > >> > >> The eventual goal is to export collections of summaries of these > >project > >> references as a markdown document (or PDF etc, whichever is easier) . > >> > >> Cheers, > >> Kevin > >> -- > >> Sent from my phone with K-9 Mail. > >> Please excuse my brevity. > >> > > -- > Sent from my phone with K-9 Mail. > Please excuse my brevity. >
