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

Creator has to remove pre-existing text in RTEs while customizing interactions #1862

Closed
arku opened this issue May 20, 2016 · 4 comments
Closed
Assignees
Labels

Comments

@arku
Copy link
Contributor

arku commented May 20, 2016

Steps to reproduce:

  1. Sign in
  2. Create a new exploration
  3. Add interaction to the first card
  4. Click on Item Selection or Multiple Choice in the Choose Interaction modal
  5. Observe the textarea.

It would be better if we change the paragraph text Sample item answer(Customize Interaction-Item Selection modal) and Sample multiple-choice answer(Customize Interaction-Multiple Choice modal) into placeholder texts so that the exploration creator doesn't have to remove the text before entering the choices.

multiple_choice

item_selection

@seanlip
Copy link
Member

seanlip commented May 20, 2016

@AllanYangZhou is this possible with the new RTE you're working on?

@AllanYangZhou
Copy link
Contributor

I suppose we could do something like this for any conteditable, including the new RTE.

@seanlip seanlip changed the title Creator has to remove pre-existing text while customizing interactions Creator has to remove pre-existing text in RTEs while customizing interactions May 28, 2016
@arunabh98
Copy link
Contributor

Could I work on this issue?

@seanlip
Copy link
Member

seanlip commented Jul 18, 2016

Yep, please go ahead! Probably best to modify the relevant schema to include a placeholder: https://github.com/oppia/oppia/wiki/Schema-Based-Forms

wxyxinyu pushed a commit that referenced this issue Aug 8, 2016
…2312)

* Fix #1862: Creator no longer has to remove pre-existing text in RTEs

* modify schema_utils_test.py to include placeholder for html
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

5 participants