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

wysiwyg editor? #27

Closed
fredle opened this issue Jun 24, 2016 · 11 comments
Closed

wysiwyg editor? #27

fredle opened this issue Jun 24, 2016 · 11 comments
Labels

Comments

@fredle
Copy link

fredle commented Jun 24, 2016

Any chance of a wysiwyg editor? I have implemented one using tinymce and this binding handler.

https://github.com/michaelpapworth/tinymce-knockout-binding

@andrewtelnov
Copy link
Member

Are you talking about this?
http://surveyjs.org/builder/
https://github.com/andrewtelnov/surveyjs.editor

Thank you,
Andrew

@fredle
Copy link
Author

fredle commented Jun 24, 2016

No, like a comment but accepts html.

I managed to implement it duplicating the 'comment' files and changing the binding handler from "value" to wysiwyg. but it would be nice to have one in the master branch.

@andrewtelnov
Copy link
Member

andrewtelnov commented Jun 24, 2016

I am afraid, I missed something.
Should I look closely at: https://github.com/michaelpapworth/tinymce-knockout-binding
or do you have a surveyjs branch that I may look at?

@fredle
Copy link
Author

fredle commented Jun 24, 2016

Looks like I am not authorised to create a branch..

@andrewtelnov
Copy link
Member

@andrewtelnov
Copy link
Member

I will accept all your pull requests to this branch.

@fredle
Copy link
Author

fredle commented Jun 24, 2016

Sorry, I am not too familiar working with github, am I doing anything wrong, or is it a permissions issue for the project

$ git push origin origin/knockout-binding
Username for 'https://github.com': fredle
Password for 'https://fredle@github.com':
remote: Permission to andrewtelnov/surveyjs.git denied to fredle.
fatal: unable to access 'https://github.com/andrewtelnov/surveyjs.git/': The requested URL returned error: 403

@andrewtelnov
Copy link
Member

No problem.
You may fork my repo. You will have the full copy of my repo under your account. You may modify the new repo as you wish.
The idea, that you modify the "knockout-binding" branch.
You may commit from your repo to my (original) repo by doing pull requests. As I told, I will accept all your pull requests to the knockout-binding branch as soon as I see a request. It will synchronize the branch in two repos (my and yours).

Thank you,
Andrew

@andrewtelnov
Copy link
Member

I have accepted the request. Now you should convince me to include it into the master branch :-)
I do not see any harm to have this.
I will move the code to the knockout version only: https://github.com/andrewtelnov/surveyjs/tree/master/src/knockout. So reactjs doesn't have this code.
Do you have any example, so I understand what it is? :-)

Thank you,
Andrew

@xibman
Copy link
Contributor

xibman commented Mar 29, 2017

@andrewtelnov
Copy link
Member

@xibman Here is the example of implementing editor by using custom widgets: https://surveyjs.io/Examples/Library/?id=custom-widget-ckeditor

Thank you,
Andrew

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

No branches or pull requests

4 participants