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

Change name of contentEditable=typing to contentEditable=intent #60

Closed
johanneswilm opened this issue Jul 25, 2015 · 11 comments
Closed

Comments

@johanneswilm
Copy link
Contributor

Besides the name change, this means that

a) There will not be any caret movement, which closes issue #58

b) There will not be any automatic change to the DOM structure through user input. This means that IME inline text input will be handled without making any changes to the DOM structure (ShadowDom or similar), which closes issue #57 .

c) overtype mode will be implemented entirely in userspace, which closes issue #55

@rniwa
Copy link
Contributor

rniwa commented Aug 3, 2015

I don't think we should use the name intent. We had a long discussion to avoid using the name intent to avoid the confusion with Web Intent.

@rniwa rniwa reopened this Aug 3, 2015
@johanneswilm
Copy link
Contributor Author

what alternative name would you suggest?

@rniwa
Copy link
Contributor

rniwa commented Aug 4, 2015

@hober

@johanneswilm
Copy link
Contributor Author

@fredck

@johanneswilm
Copy link
Contributor Author

I propose cE=intentions as a new name, but I am up to any other name as long as long as it's descriptive of what the spec is about. I agree that naming conflicts with other specs should be avoided.

@johanneswilm
Copy link
Contributor Author

I reread @fredck 's email to there list where he presented this name change proposal. Apparently he seems to have recalled the end of the discussion differently.

Introduce contenteditable=“intent”

This is something discussed a lot previously with Ben and in a very advanced stage. This module would enable the Intent API into cE. With this, no behaviour is expected in the editable but a strong events API of user “intents” take place. The behaviour would be then implemented by JavaScript developers on top of the events.

https://lists.w3.org/Archives/Public/public-editing-tf/2015Jul/0007.html

So far, you two @fredck and @rniwa have been the only ones with an opinion on the name of this feature (at least in this round). If the two of you could come up with a new alternative name, then I think there is a fair chance that will go through without opposition.

@rniwa
Copy link
Contributor

rniwa commented Aug 4, 2015

Since the purpose of this mode is to only fire events and not modify DOM, perhaps contenteditable=eventonly would work.

@johanneswilm
Copy link
Contributor Author

Sounds good to me.

@fredck
Copy link

fredck commented Aug 4, 2015

Since the idea of modularity is to stack features (for example contenteditable="events typing enter"), I would avoid the "only" thing otherwise we would also allow for "typingonly", "enteronly", etc. So maybe contenteditable="events" seems to be more appropriate.

@johanneswilm
Copy link
Contributor Author

True, that makes sense. @rniwa would "events" also work for you?

@rniwa
Copy link
Contributor

rniwa commented Aug 4, 2015

Sure.

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

3 participants