Not able to update toolbar buttons

16 views
Skip to first unread message

parallel32

unread,
Aug 11, 2013, 6:06:48 AM8/11/13
to snape...@googlegroups.com
Using the InPlace editor instance, for some reason, no matter what configuration I try for setting the toolbar buttons nothing works.  This is what I currently have (that doesn't work):

var editor = new SnapEditor.InPlace("description", {
             toolbar: {
               items: [
                 "styleBlock", "|",
                 "p", "|",
                 "bold", "italic", "underline", "|",
                 "alignment", "|",
                 "alignLeft", "alignCentre", "alignRight", "alignJustify", "|",
                 "orderedList", "unorderedList", "indent", "outdent", "|",
                 "link", "table", "horizontalRule" 
               ]
             }
             ,snap: false
             ,onSave: function (e) {
                var isSuccess = true;
                html = e.html;
                DoEdit();
                return isSuccess || "Error";
             }
          });

And here is what it produces:

Notice, many buttons are missing like hoirzontalRule and underline.

Any ideas why this would happen?

Thanks

parallel32

unread,
Aug 11, 2013, 6:41:10 AM8/11/13
to snape...@googlegroups.com
Well it looks like I solved my own problem...

I downloaded the "latest version" from here: http://www.snapeditor.com/pricing .. using the integration license because that's what I'm doing testing / integrating.  and I get version 1.8.3 NOT version 1.9.  AND I've been working off of the version 1.9 documentation thinking I downloaded the latest version.  Is there a reason why you're not linking to the 1.9 editor on the download??


Wesley Wong

unread,
Aug 12, 2013, 6:17:28 PM8/12/13
to snape...@googlegroups.com
Hi,

I'm not sure what's going on. I just went there to try to download from the Pricing page and I am getting 1.9.0. Would you be able to go back and try refreshing the page several times before hitting the download button? I wonder if there's a caching issue.

Please let me know if it worked.

Thanks,
Wesley

parallel32

unread,
Aug 13, 2013, 2:46:45 AM8/13/13
to snape...@googlegroups.com
Looks like it was a caching issue.  I was able to get my hands on the latest version.  Thanks for the follow-up.
Reply all
Reply to author
Forward
0 new messages