forked from basecamp/trix
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request basecamp#1192 from basecamp/revert-1188-editor-ele…
…ment-internals Revert "Integrate with `ElementInternals`"
- Loading branch information
Showing
5 changed files
with
59 additions
and
183 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
export default () => | ||
`<label id="label-1" for="editor"><span>Label 1</span></label> | ||
<label id="label-2">Label 2</label> | ||
<trix-editor id="editor"></trix-editor> | ||
<label id="label-3" for="editor">Label 3</label>` | ||
<label id="label-2"> | ||
Label 2 | ||
<trix-editor id="editor"></trix-editor> | ||
</label> | ||
<label id="label-3" for="editor">Label 3</label>` |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
export default () => | ||
`<form id="ancestor-form"> | ||
<trix-editor id="editor-with-ancestor-form" name="editor-with-ancestor-form"></trix-editor> | ||
<trix-editor id="editor-with-ancestor-form"></trix-editor> | ||
</form> | ||
<form id="input-form"> | ||
<input type="hidden" id="hidden-input"> | ||
</form> | ||
<trix-editor id="editor-with-input-form" input="hidden-input"></trix-editor> | ||
<trix-editor id="editor-with-no-form"></trix-editor> | ||
<fieldset id="fieldset"><trix-editor id="editor-within-fieldset"></fieldset>` | ||
<trix-editor id="editor-with-no-form"></trix-editor>` |
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