karalamalar.insert-at-caret 1.1.4

Suggested Alternatives

emreerkan.insert-at-caret

Additional Details

Repository and name change.

There is a newer version of this package available.
See the version list below for details.
dotnet add package karalamalar.insert-at-caret --version 1.1.4
NuGet\Install-Package karalamalar.insert-at-caret -Version 1.1.4
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="karalamalar.insert-at-caret" Version="1.1.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add karalamalar.insert-at-caret --version 1.1.4
#r "nuget: karalamalar.insert-at-caret, 1.1.4"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install karalamalar.insert-at-caret as a Cake Addin
#addin nuget:?package=karalamalar.insert-at-caret&version=1.1.4

// Install karalamalar.insert-at-caret as a Cake Tool
#tool nuget:?package=karalamalar.insert-at-caret&version=1.1.4

jQuery insertAtCaret

A jQuery plugin which inserts text to a text input or a textarea field at the caret's position.

Base code from: http://stackoverflow.com/a/1064139/84042

Usage

If your text field contained 'Foo Bar' with the cursor positioned after 'Foo' then the following code would result in 'FooBar Bar':

$('textarea').insertAtCaret('Bar');

Changelog

[1.1.5] - 2017-06-05

  • If any text is selected, plugin overrides that selected part of the text with new text

[1.1.4] - 2015-09-22

  • Corrected the name of the browser detection variable

[1.1.3] - 2015-08-08

  • Changed naming of the core files.

[1.1.2] - 2015-08-06

  • Added manifest file for jQuery Plugin Registry

[1.1.1] - 2015-08-05

  • Added to npm and jQuery Plugin Registry

[1.1] - 2015-08-05

  • 1.9+ jQuery support
  • More minification
  • ReadMe updated
  • License updated

[1.0] - 2013-01-07

  • Initial commit

License

Copyright (c) 2013 İzzet Emre Erkan
Licensed under GPLv2 or later.

Contributors:

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.2.2 1,648 6/19/2023
1.2.1 1,194 6/19/2023
1.2.0 1,476 6/19/2023
1.1.4 1,879 9/22/2015
1.1.3 1,397 8/8/2015

Corrected the name of the browser detection variable