-
Notifications
You must be signed in to change notification settings - Fork 663
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
File embedding not working if rich text editor is not used #6160
Milestone
Comments
@sembrestels could you take a look at this |
sembrestels
pushed a commit
to sembrestels/Elgg
that referenced
this issue
Feb 21, 2014
Issue was introduced in 8b358c5 by removing the line that applies the text change in textarea. The way to extend javascript from the rich text editor was to extend a view in js/embed/embed. It has been refactored to the 'embed', 'editor' js hook, in order to make js/embed/embed convertible to js file. The view extension has been deprecated. Text areas and rich text editors manage the insertion diferently. In order to insert the content in the correct place, we allow rich text editors to return false inside the hook to stop the insert, and apply it just once. Fixes Elgg#6160
2 tasks
sembrestels
pushed a commit
to sembrestels/Elgg
that referenced
this issue
Feb 21, 2014
Issue was introduced in 8b358c5 by removing the line that applies the text change in textarea. The way to extend javascript from the rich text editor was to extend a view in js/embed/embed. It has been refactored to the 'embed', 'editor' js hook, in order to make js/embed/embed convertible to js file. The view extension has been deprecated. Text areas and rich text editors manage the insertion diferently. In order to insert the content in the correct place, we allow rich text editors to return false inside the hook to stop the insert, and apply it just once. Fixes Elgg#6160
sembrestels
pushed a commit
to sembrestels/Elgg
that referenced
this issue
Feb 28, 2014
Issue was introduced in 8b358c5 by removing the line that applies the text change in textarea. The way to extend javascript from the rich text editor was to extend a view in js/embed/embed. It has been refactored to the 'embed', 'editor' js hook, in order to make js/embed/embed convertible to js file. The view extension has been deprecated. Text areas and rich text editors manage the insertion diferently. In order to insert the content in the correct place, we allow rich text editors to return false inside the hook to stop the insert, and apply it just once. Fixes Elgg#6160
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Disable the CK editor or hide editor and it is not possible to embed content
Issue in Elgg 1.9-dev
The text was updated successfully, but these errors were encountered: