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

Is there an option to disable "<top>/<bottom>" choices for autocomplete url field #3438

Closed
artemijan opened this issue Jan 12, 2017 · 9 comments

Comments

@artemijan
Copy link

Hello. I am using tinymce insert link plugin.
When i click in url field - there is autocomplete menu for that input.
So is there an option to disable it or just override?
Thanks.

@artemijan artemijan changed the title Is there an option to disable "<top>/<bottom>" choices for autocomplete url fild Is there an option to disable "<top>/<bottom>" choices for autocomplete url field Jan 12, 2017
@artemijan
Copy link
Author

any updates?

@EifX
Copy link

EifX commented Feb 2, 2017

Hi,
have a look to this page: https://stackoverflow.com/questions/41438039/tinymce-link-plugin-how-to-disable-url-menu

If you add the settings
anchor_bottom: false, anchor_top: false,
top and bottom are now away. Now, I have a problem, that I can't insert free text... but maybe this information helps, to solve your question ;)

ps: I think it's a bug ;)

@artemijan
Copy link
Author

@EifX thanks a lot

@mattrothstein
Copy link

did this ever get resolved or workaround?

@fyrkant
Copy link

fyrkant commented Apr 5, 2017

@mattrothstein Yes you can set them to false to disable them, like this:

tinymce.init({
  selector: 'textarea',
  anchor_top: false,
  anchor_bottom: false
});

This has also been added to the documentation, see anchor_top and anchor_bottom.

@mattrothstein
Copy link

@fyrkant Thanks but the problem i'm having is what @EifX mentioned. When i use the suggested settings i am still unable to type in the url input field.

@mattrothstein
Copy link

@EifX So I realized it was an issue with bootstrap. There is an open issue for it here: issue and its referenced in a stack overflow question here: stackoverflow

@EifX
Copy link

EifX commented Apr 6, 2017

@mattrothstein Thank you for the references! I use TinyMCE inside of an jQueryUi-Dialog and now, I can fix my problem 😄 Great! 👍

@JamesHarish12
Copy link

Need help for my TinyMCE link button because the input box for url and title are disabled. I can't insert any characters in url and title. How to fix it?

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

No branches or pull requests

5 participants