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

Templated tags #54

Merged
merged 3 commits into from
Apr 13, 2018
Merged

Templated tags #54

merged 3 commits into from
Apr 13, 2018

Conversation

Brimstedt
Copy link
Contributor

@Brimstedt Brimstedt commented Mar 30, 2018

With these changes, you can add a slot to style the inserted tag.

image

@fritx
Copy link
Owner

fritx commented Apr 1, 2018

styled-tags

@Brimstedt awesome! 👍 but seems something went wrong on my side..
When I inserted a tag and pressed delete until cursor back to right behind @,
then pressed enter, a bunch of raw html would be inserted there.

@Brimstedt
Copy link
Contributor Author

Brimstedt commented Apr 1, 2018 via email

fritx added a commit that referenced this pull request Apr 1, 2018
@fritx
Copy link
Owner

fritx commented Apr 1, 2018

When I inserted a tag and pressed delete until cursor back to right behind @,
then pressed enter, a bunch of raw html would be inserted there.

@Brimstedt the latest Chrome.

I've just pushed a temp commit based on your awesome stuffs,
I was trying to handle well the other cases, such as delete handling and caret moving.

Just WIP, everything is not determined, need more investigation and testing together.
For now I'm afraid of any breaking changes to the users that would come from PRs,
before we set up a standard browser-automated testing CI,
like https://circleci.com/gh/vuejs/vue-router.

@Brimstedt
Copy link
Contributor Author

Ok.. do you want me to do something more here, or are you taking over the implementatoin of this functionality? :-)

/L

This was referenced Apr 9, 2018
@fritx fritx merged commit 3181c7b into fritx:dev Apr 13, 2018
@jggj21
Copy link

jggj21 commented Aug 4, 2021

I am having the inconvenience when using v-model="html" and performing the console.log (html) I am getting the result with the HTML tags, is there any way to make it plain text, as well as in the textarea? I can't use the textarea as I need to get the: user-data-id = "s.item.id"

@fritx
Copy link
Owner

fritx commented Jul 26, 2022

@jggj21 you have to transform HTML to your expected form of text yourself, because vue-at doesn't know the specific logic you need

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants