Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FLUID-4681: Trial version of improved "dead man's blur" #215

Merged
merged 6 commits into from Apr 30, 2012

Conversation

amb26
Copy link
Member

@amb26 amb26 commented Mar 27, 2012

FLUID-4681: Trial version of improved "dead man's blur" which provides a facade API to "globalDismissal" strategy rescued from CSpace, for resolving failure of blur detection when using TinyMCE version 3.4.8. New implementation and tests for fluid.keys and fluid.values

This isn't a serious request for a pull yet since there are several obvious issues with the implementation, but a request for review and testing. Before this can be pulled back in, we need to
i) Strip back out the version of TinyMCE I have committed for testing, and put it up into our CDN with the others,
ii) Get design input on whether the inconsistency of the behaviour of this component with the simple InlineEdit (that it cancels an edit on blur, rather than committing it) is really correct, and also what the correct behaviour should be on receiving a focus outside the component other than on click
iii) Determine whether the new "facade API" for deadMansBlur is really reasonable given its "stateful model" for its lifetime using the "reArm", "proceed" etc. methods which were not used by the previous stateless system which did not defer to globalDismissal.

…s a facade API to "globalDismissal" strategy rescued from CSpace, for resolving failure of blur detection when using TinyMCE version 3.4.8. New implementation and tests for fluid.keys and fluid.values
@Jetski5822
Copy link

Just gave it a go an works like a dream. I have marked the nessessary files so that once a long term fix is found, I can upgrade easily.

Once again thanks :)

… instances are created per page. This caused failed registration of listeners since the 2nd instance has its markup created synchronously. Resolved a further issue where "globalDismissal" only kept one dismissal entry as a result of both registered containers supplying the same id "tinymce" created by the renderer within the iframe.
@amb26
Copy link
Member Author

amb26 commented Apr 23, 2012

TinyMCE version has been removed from framework image and the demo updated to use an updated reference from our CDN. This is now a serious pull request

@michelled
Copy link
Member

I noticed an issue with TinyMCE. When you use the bold or italic buttons the rich text editor closes.

@michelled
Copy link
Member

I tested your fix and the buttons all work now.

I'm still seeing the issue of the editor closing when using the drop down to change the format from 'paragraph' to 'heading'.

…controls which are appended to the overall document body
@amb26
Copy link
Member Author

amb26 commented Apr 30, 2012

This is a particularly appalling problem since TinyMCE dynamically creates DOM material for dropdowns which is pushed to the end of the document and is floated on top of its UI using absolute CSS positioning (much like a tooltip). I added "by inspection" a bunch of event registration that works with the current TinyMCE in order to intercept the creation of the dropdown to add it to the list of DMB "exclusions" but this uses completely undocumented features of the TinyMCE API.

@michelled michelled merged commit b030cb5 into fluid-project:master Apr 30, 2012
@michelled
Copy link
Member

Merged into project repo at 88390cc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants