Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Idea: Form editor in TinyMCE

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1 2
Go to End
Author Topic: 38230 Views
  • Sam
    Avatar
    Administrator
    679 Posts

    Re: Idea: Form editor in TinyMCE Link to this post

    I've reviewed the changes that we've made and I've come up with this analysis. I suggest that a starting point would be to take the current TinyMCE code and re-apply the important features to it. Then look at the bug-fix items and see which ones haven't been fixed in the lateste TinyMCE.

    I would recommend that we then submit our changes to the TinyMCE core as a patch, so that they have it in their codebase.

    IMPORTANT FEATURES

    * Manual placement of toolbar location, and blur/focus handlers on the controls to facillitate this.
    * Add macrons to insert character
    * Added formElement.isChanged() method, to help with SS change detection

    UNIMPORTANT FEATURES

    * Added image class field to image properties form
    * Changed default with to 600px, not 320.
    * Begun adding support for strict XHTML content-type header (nbsp = #160 and case-insensitive tagname checking)

    BUGFIXES

    * Fixed positioning of context menu when scrolling, and to prevent it from showing off the bottom of the screen.
    * Got the editor to respect the <base> tag
    * Bug fix in table editor
    * Bugfix in inserting the typography stylesheet
    * Made area_width and area_height parameters instance specific, rather than global (not actually needed anymore)
    * Fixed support for # directive in valid_elements config optin
    * Fixed auto-resizing editors
    * Fixed isDirty(), although not completely

  • Sam
    Avatar
    Administrator
    679 Posts

    Re: Idea: Form editor in TinyMCE Link to this post

    TinyMCE 2.1.1.1 is now in place!

    This has been implemented in the latest daily build

  • Nathan Cox
    Avatar
    Community Member
    99 Posts

    Re: Idea: Form editor in TinyMCE Link to this post

    Wow...that was easy. I barely even looked into it

    How much modifying did it need?

  • xmedeko
    Avatar
    Community Member
    94 Posts

    Re: Idea: Form editor in TinyMCE Link to this post

    Sam: cool, thanks!

    Sigurd: Userdefinedform is buggy, if you start creating form in the fresh new page. As a workaround, the creating forms in the fresh new page can be disabled. Anyway, I think that the simple contact form, created in TinyMCE, posted by email, might be be more user-friendly to the users. We'll try it and see.

  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: Idea: Form editor in TinyMCE Link to this post

    It could be okay, but it doesn't make sense to have the ability to create forms in more than one place. It's best to stick with one, and do a really good job of it.

    Sean

    38230 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.