Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions permutation-studio/src/Row.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export default class Row {

/* <td class="col-md-6">
<textarea id="pid-text0" class="form-control" name="problem[pid][text][0]"
placeholder="Insert text of the first element" style="white-space: nowrap;resize: vertical;">
placeholder="Insert text of the first element" style="white-space: normal;resize: vertical;">
</textarea>
</td> */
var valueContainer = document.createElement('td')
Expand All @@ -123,7 +123,7 @@ export default class Row {
this.valueTA.setAttribute('class', 'form-control')
this.valueTA.setAttribute('name', `problem[${IdManager.pid}][${this.parentId}][text][${this.rowId}]`)
this.valueTA.setAttribute('placeholder', this._get_value_placeholder())
this.valueTA.style.whiteSpace = 'nowrap';
this.valueTA.style.whiteSpace = 'normal';
this.valueTA.style.resize = 'vertical';
this.valueTA.innerHTML = this.value;
valueContainer.appendChild(this.valueTA)
Expand Down