On a related note, we have a crude abstraction layer
to plug in other rich text editors in 3.0,
so that might be a way forward as well.
Does anybody know of other iOS-compat RTEs
with a similar feature set than TinyMCE?
> --
> You received this message because you are subscribed to the Google Groups "SilverStripe Core Development" group.
> To post to this group, send email to silverst...@googlegroups.com (mailto:silverst...@googlegroups.com).
> To unsubscribe from this group, send email to silverstripe-d...@googlegroups.com (mailto:silverstripe-d...@googlegroups.com).
> For more options, visit this group at http://groups.google.com/group/silverstripe-dev?hl=en.
Spocke: "It kind of works on iOS. You can edit and format contents on an iPad for example though a bit tricky and Safari tends to crash a lot. Nothing we can do about that tough since it's totally random. I would guess it leaks memory here and there hopefully future versions of Safari for iOS and also Android will work a lot better."
http://www.tinymce.com/forum/viewtopic.php?id=22209
It may just be worth upgrading tinymce just before SS3 release candidate 1 and sticking with what we got - I'm not sure that the work in plugging in another editor for iPad is worth it. Ain't it better we point out bugs we find to spocke and help him improve his editor?
Sig
On 13/03/2012, at 6:49 AM, Ingo Schommer <in...@silverstripe.com> wrote:
> Sorry, wrong link.
>
> Spocke: "It kind of works on iOS. You can edit and format contents on an iPad for example though a bit tricky and Safari tends to crash a lot. Nothing we can do about that tough since it's totally random. I would guess it leaks memory here and there hopefully future versions of Safari. for iOS and also Android will work a lot better."
> To post to this group, send email to silverst...@googlegroups.com.
> To unsubscribe from this group, send email to silverstripe-d...@googlegroups.com.
Given that there are no longer any showstoppers, I'd suggest that we includes iPad in a 2nd tier testing category, where bugs can be identified and won't be marked as "wontfix", but that they won't block release, either, and they might be bumped down a priority category from where a similar bug in IE8 or Firefox would lie.
Even if 3.0 isn't particularly good on iPad, I think that moving the project's focus towards supporting the iPad is a good move.
Thanks,
Sam
--
You received this message because you are subscribed to the Google Groups "SilverStripe Core Development" group.
To post to this group, send email to silverst...@googlegroups.com.
To unsubscribe from this group, send email to silverstripe-d...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/silverstripe-dev?hl=en.
--
You received this message because you are subscribed to the Google Groups "SilverStripe Core Development" group.
To post to this group, send email to silverst...@googlegroups.com.
To unsubscribe from this group, send email to silverstripe-d...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/silverstripe-dev?hl=en.
You can see the editor abstraction in HtmlEditorField.js:
https://github.com/silverstripe/sapphire/blob/master/javascript/HtmlEditorField.js
Editors have huge APIs, I've just lumped everything we need into one wrapper.
Haven't had the time to try it out with a different editor, but CKEditor
would be a great reference implementation!
Regarding "SS TinyMCE behaves differently from vanilla", there's
a lot of configuration being set, so it would be good if you can track it down to a specific setting.
We haven't patched up TinyMCE core, just added our own plugins for link+image insertion.
And we're running a fairly new version, less than two months old IIRC.
Ingo
On Thursday, 15 March 2012 at 1:41 AM, Chris Hope wrote:
> I'm happy using TinyMCE if the paste issues are solved. I must try out the latest beta. In fact if it still does put spans around when pasting when the same version vanilla TinyMCE doesn't, then I suppose it's a bug really and I should file a bug report. If there are still paste issues that you (or I) can't solve, then I would consider creating a CKEditor module, but there's little sense doing extra work if we don't need to.
>
> I'll do some tests early next week and if the paste issue is still there then I'll see if I can work out why.
>
> Going back to iPad support, I can try out CKEditor on an iPad and see how well it works. Although I have an iPad myself I can't really think I'd ever be very likely to edit a site with it myself, but I suppose if I was away somewhere and had it, and needed to fix a content error, then it could be quite useful.
>
>
>
> On 15 March 2012 13:34, Sam Minnée <s...@silverstripe.com (mailto:s...@silverstripe.com)> wrote:
> > OK, Ingo, you mentioned that there was a crude editor-abstraction API available. Would you be able to give Chris and others a few pointers about how they would go about creating a CKEditor module?
> >
> > On 15/03/2012, at 1:12 PM, Chris Hope wrote:
> >
> > > I've never liked TinyMCE, mainly because copy and paste are problematic in Webkit based browsers. Having said that, current vanilla TinyMCE seems to work OK, but for some reason the same current version I tried in SS 3.0 alpha 2 didn't play as nicely and kept putting unwanted <span> tags around the pasted text. Perhaps this has been fixed in the beta version but I haven't tested it yet.
> > >
> > > I have been considering creating a CKEditor module to use instead of TinyMCE for this exact reason. I spend a lot of time each day writing content and there's a fair amount of copy and paste and anything that saves time is a good thing :)
> >
> > --
> > You received this message because you are subscribed to the Google Groups "SilverStripe Core Development" group.
> > To post to this group, send email to silverst...@googlegroups.com (mailto:silverst...@googlegroups.com).
> > To unsubscribe from this group, send email to silverstripe-d...@googlegroups.com (mailto:silverstripe-dev%2Bunsu...@googlegroups.com).
> > For more options, visit this group at http://groups.google.com/group/silverstripe-dev?hl=en.
>
>
>
>
> --
> Chris Hope
> iSavvy Ltd
>
> Email: ch...@isavvy.co.nz (mailto:ch...@isavvy.co.nz)
> Blog: www.electrictoolbox.com (http://www.electrictoolbox.com)
> Phone: +64 9 522 9531
> Mobile: +64 21 866 529
>
> --
> You received this message because you are subscribed to the Google Groups "SilverStripe Core Development" group.
> To post to this group, send email to silverst...@googlegroups.com (mailto:silverst...@googlegroups.com).
> To unsubscribe from this group, send email to silverstripe-d...@googlegroups.com (mailto:silverstripe-d...@googlegroups.com).
To post to this group, send email to silverst...@googlegroups.com.
To unsubscribe from this group, send email to silverstripe-d...@googlegroups.com.