Changeset 431940
- Timestamp:
- 09/01/2011 09:04:13 PM (15 years ago)
- File:
-
- 1 edited
-
add-link-class/trunk/readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
add-link-class/trunk/readme.txt
r431439 r431940 9 9 10 10 == Description == 11 Short Version: 11 = Short Version: = 12 12 13 13 Adds a field to the create/update dialog box within the Visual post editor so that you can assign a class to the 14 link you are creating. 14 link you are creating. (see screenshot) 15 15 16 16 17 18 Long Version: 17 = Long Version: = 19 18 20 19 This is a lot of code that doesn't do much. … … 25 24 the dialog in question is created and modify that and the associated functions to my liking. In doing so, 26 25 I have learned quite a bit and also have a greater understanding of why this functionality is missing (or 27 at least I have a theory ).26 at least I have a theory, see Known Limitations/Bugs). 28 27 29 Limitations/Known bugs:30 28 31 When unlinking, the assigned class will not be removed. Instead a span tag will be generated and the class will be32 applied to the span. This is a bug with tinyMCE, see http://www.tinymce.com/develop/bugtracker_view.php?id=202233 My best guess is that this is why styles are disabled and this functionality isn't present in the default34 add/edit link dialog. So, when you unlink something, you'll have to go to the 'html' editor and manually35 remove the span tags, or simply leave them there but that may result in unpredictible behavior/styling.36 29 37 30 == Installation == 38 31 39 Easy method: 40 1.Download the Add Link Class plugin.41 2.In your WordPress Administration, go to Plugins > Add New > Upload, and select the plugin ZIP file.42 3.Click 'Install Now' Button.43 4.Activate the plugin.44 5.Rejoice at your newfound super powers that allow you to insert/edit links like a pro!32 = Easy method: = 33 = 1. = Download the Add Link Class plugin. 34 = 2. = In your WordPress Administration, go to Plugins > Add New > Upload, and select the plugin ZIP file. 35 = 3. = Click 'Install Now' Button. 36 = 4. = Activate the plugin. 37 = 5. = Rejoice at your newfound super powers that allow you to insert/edit links like a pro! 45 38 46 Advanced method: 39 = Advanced method: = 47 40 If you're an advanced user you probably have a good handle on plugin installation. Use your favorite method. 48 41 == Frequently Asked Questions == 49 42 = 1) Why do I have to manually type a 'class' in? = 50 43 51 I'll make you a deal, leave a 'feature request' type message on the support forum (see question 2) and I'll see what I can do to add that functionality.44 I'll make you a deal, leave a 'feature request' type message on the [The support forum](http://wordpress.org/tags/add-link-class) and I'll see what I can do to add that functionality. 52 45 53 46 = 2) Where can I get support for this plugin? = 54 47 55 The support forum: http://wordpress.org/tags/add-link-class 48 [The support forum](http://wordpress.org/tags/add-link-class) 56 49 57 = 3) Can't I just use something else like the tiny-mce-advanced plugin or just disable the 'wplink' within 58 the WordPress version of tinyMCE and use 'advlink' instead? = 50 = 3) Can't I just use something else like the tiny-mce-advanced plugin or just disable the 'wplink' within the WordPress version of tinyMCE and use 'advlink' instead? = 59 51 60 52 Absolutely, the tiny-mce-advanced plugin is pretty cool and I like it. However, I think the wplink functionality … … 72 64 73 65 == Changelog == 66 = 0.9 = 67 * 01 Sep 2011 68 * development version, not public 69 * Added more condition checking to respect user privacy 74 70 = 0.8 = 75 71 * 31 Aug 2011 76 72 * More code optimization & clean up 77 * From the user's POV, it probably doesn't really do anything new, from the author's POV it's got some exciting new features! 73 * From the user's POV, it probably doesn't really do anything new, 74 from the author's POV it's got some exciting new features! 78 75 = 0.7 = 79 76 * Code optimization … … 108 105 109 106 1. The new insert/edit link dialog 107 108 == Limitations/Known bugs == 109 110 When unlinking, the assigned class will not be removed. Instead a span tag will be generated and the class will be 111 applied to the span. This is a bug with tinyMCE, see [TinyMCE bug trac](http://www.tinymce.com/develop/bugtracker_view.php?id=2022) 112 My best guess is that this is why styles are disabled and this functionality isn't present in the default WordPress 113 add/edit link dialog. So, when you unlink something, you'll have to go to the 'html' editor and manually 114 remove the span tags, or simply leave them there but that may result in unpredictible behavior/styling.
Note: See TracChangeset
for help on using the changeset viewer.