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

Rich Text field #12

Closed
Gulix opened this issue May 30, 2016 · 5 comments
Closed

Rich Text field #12

Gulix opened this issue May 30, 2016 · 5 comments
Assignees
Milestone

Comments

@Gulix
Copy link
Owner

Gulix commented May 30, 2016

Having a Rich Text Field is necessary : skills, special rules, ... often need to have bold or italic text.
The result in the template should be an itext object, with styles generated on the run.

@Gulix
Copy link
Owner Author

Gulix commented May 30, 2016

https://github.com/michaelpapworth/tinymce-knockout-binding
An example of a light text editor, with a knockout binding

@Gulix Gulix self-assigned this May 30, 2016
@Gulix Gulix added this to the Anolis Barbatus (Alpha) milestone May 30, 2016
Gulix added a commit that referenced this issue Jun 16, 2016
First steps into getting a Rich Text Editor. It works for one field only, and the binding is still to be fixed.
Gulix added a commit that referenced this issue Jun 16, 2016
Using a Knockout Custom Binding to make it easier
Gulix added a commit that referenced this issue Jun 16, 2016
Using the variables into the canvas
New type of field : RichText
@Gulix
Copy link
Owner Author

Gulix commented Jun 16, 2016

The work is getting done.
Still needs some tuning :

  • toolbar with bold / italic buttons.
  • text verification and fixing (special characters, unwanted tags, ...)
  • locking the commands (only bold & italic right now)
  • documentation

Gulix added a commit that referenced this issue Jun 19, 2016
Progress on the #12 Issue
@Gulix
Copy link
Owner Author

Gulix commented Jun 19, 2016

The toolbar and the editor will need some enhancements via #42.
Still needs to lock up some commands (to define which commands are supported, currently only bold & italic).
Special characters seems ok (exception < & > )

@Gulix
Copy link
Owner Author

Gulix commented Jun 22, 2016

The character & is displayed as &amp; on the card.

@Gulix
Copy link
Owner Author

Gulix commented Jun 24, 2016

Following completion of #64.
Is fixed, and the special characters are correclty translated to the canvas.
Only bold and italic commands are working, other could be later added through configuration.
Will still need some polish when #42 is coming.

@Gulix Gulix closed this as completed Jun 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant