[Product-Developers] Transform preview
Dylan Jay
djay at pretaweb.com
Tue Jun 7 06:09:22 UTC 2011
On 07/06/2011, at 9:21 AM, Michael A. Smith wrote:
> ----- "Dylan Jay" <djay at pretaweb.com> wrote:
>
>> Does it work on an iPhone?
>
> No worse than anything else in Plone does.
visual editors like tinymce don't work on iphones (or androids to my
knowledge). The main reason is that a visual editor doesn't use a
proper edit box so the there isn't a way to get the iphones keyboard
to activate.
So if there markdown editor uses a proper text area and then has it's
preview pane below then we have a possible solution to content
creation on an iphone while still having some kind of wysiwyg which
would be a great thing.
>
>> Probably more a AT question but if I use markdown and then later
>> switch to tinymce does it preserve the HTML correctly?
>
> Yeah, that's a PortalTransforms question. The answer is no, because
> the data is not stored as HTML if you wrote it as Markdown. The
> transform is done on the fly. You could fairly easily write a
> product to do the conversion and then commit it, though. (It may
> even exist already, I don't know.)
For the same reasons as a above we have a client that would like to
support a workflow that allows them to create content while on an
iphone and then be able to switch to tinymce later once using a full
browser. Obviously switching from html back to markdown isn't going to
work too well but for lots of usecases where you just need to create
some emergency news items on the road then that would work great.
Perhaps the following is a reasonable PLIP?
- if a user has multiple markups enabled and an editor switches markup
on existing content it should ask the user if they want to transform
the markup first, e.g. markdown -> html. If no such transform exists
it warns the user e.g. html -> markdown.
>
> -Mike
More information about the Product-Developers
mailing list