Skip to content

Commit 78d3c9a

Browse files
author
scribu
committed
finishing touches
git-svn-id: http://plugins.svn.wordpress.org/front-end-editor/trunk@223843 b8457f37-d9ea-0310-8a92-e5e31aec5664
1 parent f35bbd7 commit 78d3c9a

9 files changed

+24
-10
lines changed

editor/editor.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

editor/editor.dev.css

+12-1
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,12 @@ div.fee-form, textarea.fee-form-content {
1818
div.fee-form button {margin-top: 5px}
1919
span.fee-form input {margin-right: 5px}
2020
.fee-form button + button {margin-left: 5px}
21+
2122
.fee-form button {
2223
text-decoration: none !important;
23-
font-size: 11px !important;
2424
line-height: 14px !important;
25+
font-size: 11px !important;
26+
vertical-align: middle !important;
2527
padding: 2px 8px !important;
2628
cursor: pointer !important;
2729
-moz-border-radius: 11px;
@@ -34,10 +36,19 @@ span.fee-form input {margin-right: 5px}
3436
box-sizing: content-box;
3537
}
3638

39+
.fee-form-save:hover {
40+
border: 1px solid #000 !important;
41+
}
42+
43+
.fee-form-cancel:hover {
44+
border: 1px solid #666 !important;
45+
}
46+
3747
button.fee-form-save {
3848
background-color: #23779f;
3949
color: #fff;
4050
border: 1px solid #1c5e7f;
51+
font-weight: bold;
4152
}
4253

4354
button.fee-form-cancel {

readme.txt

+7-3
Original file line numberDiff line numberDiff line change
@@ -162,16 +162,20 @@ Yes, but you have to know your way around WordPress' internals. Here is the [dev
162162

163163
== Screenshots ==
164164

165-
1. The inline WYSIWYG editor
166-
2. Changing a theme image
167-
3. The settings page
165+
1. The tooltip
166+
2. Editing the post content
167+
3. Editing the post title
168+
4. Changing a theme image
169+
5. The settings page
168170

169171
== Changelog ==
170172

171173
= 1.8 =
172174
* added tooltip
173175
* restyled buttons
174176
* fixed widget editing
177+
* exposed JavaScript field types
178+
* [more info](http://scribu.net/wordpress/front-end-editor/fee-1-8.html)
175179

176180
= 1.7.2 =
177181
* fixed narrow textarea problem

scb/Util.php

+4-5
Original file line numberDiff line numberDiff line change
@@ -49,20 +49,18 @@ static function array_to_sql($values) {
4949
return implode(',', $values);
5050
}
5151

52+
// Have more than one uninstall hooks; also prevents an UPDATE query on each page load
5253
static function add_uninstall_hook($plugin, $callback) {
53-
register_uninstall_hook($plugin, '__return_false'); // dummy to tell WP that this plugin is uninstallable
54+
register_uninstall_hook($plugin, '__return_false'); // dummy
5455

5556
add_action('uninstall_' . plugin_basename($plugin), $callback);
5657
}
57-
58-
static function add_activation_hook($plugin, $callback) {
59-
add_action('scb_activate_' . plugin_basename($plugin), $callback);
60-
}
6158
}
6259

6360

6461
// _____Simple debug utility_____
6562

63+
if ( ! class_exists('scbDebug') ):
6664
class scbDebug {
6765
private $args;
6866

@@ -89,6 +87,7 @@ static function raw($args) {
8987
echo "</pre>";
9088
}
9189
}
90+
endif;
9291

9392
if ( ! function_exists('debug') ):
9493
function debug() {

screenshot-1.png

26.4 KB
Loading

screenshot-2.png

-74.7 KB
Loading

screenshot-3.png

-35.6 KB
Loading

screenshot-4.png

132 KB
Loading

screenshot-5.png

42.9 KB
Loading

0 commit comments

Comments
 (0)