Discussion:
Using the summernote rich text editor with Wicket
dylanbozeman
2018-12-03 15:43:43 UTC
Permalink
I am fairly new to Wicket and attempting to integrate summernote from
bootstrap seen here:

http://coding.teliclab.info/wicket-7.x/summernote

I can't find anywhere on this page where an example java code and html
markup are shown. I'm pretty much in the dark as far as configuring it. Does
anyone know where I can find code that demonstrates how to add the
component?

Here's what I've got so far but it's not displaying properly:
final SummernoteEditor summernoteEditor = new
SummernoteEditor("summernoteEditor", new PropertyModel(this,
"articleContent"), summernoteConfig);form.add(summernoteEditor);

--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-***@wicket.apache.org
For additional commands, e-mail: users-***@wicket.apache.org
Francois Meillet
2018-12-03 16:35:34 UTC
Permalink
Hi Dylan,

Have a look at https://github.com/l0rdn1kk0n/wicket-bootstrap/blob/wicket-7.x/bootstrap-samples/src/main/java/de/agilecoders/wicket/samples/pages/SummernotePage.java <https://github.com/l0rdn1kk0n/wicket-bootstrap/blob/wicket-7.x/bootstrap-samples/src/main/java/de/agilecoders/wicket/samples/pages/SummernotePage.java>
and https://github.com/l0rdn1kk0n/wicket-bootstrap/blob/wicket-7.x/bootstrap-samples/src/main/java/de/agilecoders/wicket/samples/pages/SummernotePage.html <https://github.com/l0rdn1kk0n/wicket-bootstrap/blob/wicket-7.x/bootstrap-samples/src/main/java/de/agilecoders/wicket/samples/pages/SummernotePage.html>

François
Post by dylanbozeman
I am fairly new to Wicket and attempting to integrate summernote from
http://coding.teliclab.info/wicket-7.x/summernote
I can't find anywhere on this page where an example java code and html
markup are shown. I'm pretty much in the dark as far as configuring it. Does
anyone know where I can find code that demonstrates how to add the
component?
final SummernoteEditor summernoteEditor = new
SummernoteEditor("summernoteEditor", new PropertyModel(this,
"articleContent"), summernoteConfig);form.add(summernoteEditor);
--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html
---------------------------------------------------------------------
dylanbozeman
2018-12-03 17:08:22 UTC
Permalink
Thank you. I'll look into these.

--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-***@wicket.apache.org
For additional commands, e-mail: users-***@wicket.apache.org
dylanbozeman
2018-12-03 18:28:19 UTC
Permalink
Any idea why when I implement the code you provided there I don't get the
summernote Editor displaying?

Page loads find, TextArea component is showing up, but the summernote Editor
just isn't there...

--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-***@wicket.apache.org
For additional commands, e-mail: users-***@wicket.apache.org
Tobias Soloschenko
2018-12-03 19:50:40 UTC
Permalink
Hello,

for me it is showing up:

https://wb7.teliclab.info/summernote

You have to use Wicket bootstrap and summernote.

kind regards

Tobias
Post by dylanbozeman
Any idea why when I implement the code you provided there I don't get the
summernote Editor displaying?
Page loads find, TextArea component is showing up, but the summernote Editor
just isn't there...
--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html
---------------------------------------------------------------------
dylanbozeman
2018-12-03 22:01:34 UTC
Permalink
I meant on my own site. I've got summernote and Wicket bootstrap but for some
reason the WYSIWYG isn't displaying. Just the TextArea is showing up.

--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-***@wicket.apache.org
For additional commands, e-mail: users-***@wicket.apache.org
Tobias Soloschenko
2018-12-04 04:21:34 UTC
Permalink
Please have a look at the javascript console of the browser (if there are any errors) and if the CSS files / JS files are present on your site. There were no recent changes and the files are within the code base of wicket bootstrap as I remember correctly.

kind regards

Tobias
Post by dylanbozeman
I meant on my own site. I've got summernote and Wicket bootstrap but for some
reason the WYSIWYG isn't displaying. Just the TextArea is showing up.
--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html
---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-***@wicket.apache.org
For additional commands, e-mail: users-***@wicket.apache.org
dylanbozeman
2018-12-05 20:50:04 UTC
Permalink
I didn't find any errors in the Javascript console of the browser.

Which CSS files / JS files are required? All that I have done is replicate
the java class/html-markup that you linked me to. I don't see any CSS/JS
files associated. Could you link me to those as well perhaps?

Thank you for your help..

--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-***@wicket.apache.org
For additional commands, e-mail: users-***@wicket.apache.org
Tobias Soloschenko
2018-12-06 00:12:48 UTC
Permalink
You also need the Maven-Dependencies of wicket-bootstrap - could you check the Network traffic to see if there are any 404 for CSS / JS

kind regards

Tobias
Post by dylanbozeman
I didn't find any errors in the Javascript console of the browser.
Which CSS files / JS files are required? All that I have done is replicate
the java class/html-markup that you linked me to. I don't see any CSS/JS
files associated. Could you link me to those as well perhaps?
Thank you for your help..
--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html
---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-***@wicket.apache.org
For additional commands, e-mail: users-***@wicket.apache.org

Loading...