-
Notifications
You must be signed in to change notification settings - Fork 318
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
feat: Added multiline attribute to string input element #9438
Open
eliotwrobson
wants to merge
36
commits into
PrairieLearn:master
Choose a base branch
from
eliotwrobson:string_textinput
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+311
−152
Open
Changes from 33 commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
099cf70
Added multiline attribute to string input function
eliotwrobson beb6bd2
Updated example question
eliotwrobson f17253a
Comments
eliotwrobson d4be415
Merge branch 'master' into string_textinput
eliotwrobson 6a4aab3
trying something
eliotwrobson ebc8929
Merge branch 'string_textinput' of https://github.com/eliotwrobson/Pr…
eliotwrobson 6136e8e
Revised example question
eliotwrobson 0eef7c6
Updated newline example
eliotwrobson bea95e4
Updated panel display
eliotwrobson 6def210
Merge branch 'master' into string_textinput
eliotwrobson 6d09f46
Merge branch 'master' into string_textinput
eliotwrobson 6fbfa86
Initial changes
eliotwrobson 30b25bd
default changes
eliotwrobson 561a2cd
Update docs/elements.md
eliotwrobson 5727541
Python changes
eliotwrobson 19e04f6
Question changes
eliotwrobson c72d8a0
stuff
eliotwrobson cb9f1cd
format
eliotwrobson 1ac994a
Merge branch 'master' into string_textinput
eliotwrobson d1d1992
Added escape unicode option
eliotwrobson ab75b7b
Merge branch 'master' into string_textinput
eliotwrobson a28fd22
types
eliotwrobson 7318784
Added multiline transform
eliotwrobson 1e734b6
Initial change, still seeing some things not printing but a good star…
eliotwrobson 15490d1
Logic + display for new behavior
eliotwrobson 8a9c2ee
format
eliotwrobson c5e2d64
Update docs/elements.md
eliotwrobson 0402f66
removed attribute
eliotwrobson 6e4e57b
Merge branch 'string_textinput' of https://github.com/eliotwrobson/Pr…
eliotwrobson 9032c6d
Updated docs about newline behavior
eliotwrobson 55a1a49
Updated example question and other behavior
eliotwrobson 6daf5f1
Format
eliotwrobson bee5f79
Merge branch 'master' into string_textinput
eliotwrobson 6bb8fe8
Removed line break
eliotwrobson a60af8e
Merge branch 'string_textinput' of https://github.com/eliotwrobson/Pr…
eliotwrobson 46cdfeb
Merge branch 'master' into string_textinput
eliotwrobson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall, I think this PR is almost ready to go! The only things left are messing with formatting on a few things, which I would greatly appreciate a small amount of guidance with.
<
and>
don't display for some reason:Other than that I think the behavior here is pretty reasonable and overall makes this element more intuitive.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you escaping the lt/gt? Assuming this is inside an argument, you may need to escape twice (
&lt;
for<
).There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code for this popover is in the lines just above. I didn't need to escape twice to get it to work, but it stops working once I get rid of the surrounding whitespace.