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

Added Redactor II support #63

Merged
merged 1 commit into from
Feb 24, 2016
Merged

Conversation

osulyanov
Copy link
Contributor

No description provided.

if(angular.isDefined(editor)) {
$timeout(function() {
element.redactor('code.set', ngModel.$viewValue || '');
scope.redactorLoaded = true;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is missing the code that hides the placeholder. The new method in redactor is placeholder.hide

@TylerGarlick
Copy link
Owner

Thanks for the contribution

TylerGarlick pushed a commit that referenced this pull request Feb 24, 2016
Added Redactor II support
@TylerGarlick TylerGarlick merged commit cc193ee into TylerGarlick:master Feb 24, 2016
@mattymess
Copy link

Merging this PR, breaks the ability for a user to pass in a callback when the directive is initialized. The comments I made and code samples I gave fix this issue.

It also doesn't clear out the placeholder, which is a nice UX for the less tech savvy user.

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.

3 participants