質問編集履歴
1
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -107,3 +107,45 @@
|
|
107
107
|
もし、個々だけ修正したら治るよ、的な問題でしたら教えて下さい。
|
108
108
|
|
109
109
|
相当工数がかかるようでしたら諦めます。
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
---
|
118
|
+
|
119
|
+
以下、追記です
|
120
|
+
|
121
|
+
```html
|
122
|
+
|
123
|
+
<link rel="stylesheet" href="../css/bootstrap.min.css" />
|
124
|
+
|
125
|
+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
|
126
|
+
|
127
|
+
<link href="//cdnjs.cloudflare.com/ajax/libs/x-editable/1.5.0/jquery-editable/css/jquery-editable.css" rel="stylesheet"/>
|
128
|
+
|
129
|
+
<script src="//cdnjs.cloudflare.com/ajax/libs/x-editable/1.5.0/jquery-editable/js/jquery-editable-poshytip.min.js"></script>
|
130
|
+
|
131
|
+
...</head><body>
|
132
|
+
|
133
|
+
<a id="kubun_id" href="#" data-type="text" name='id' data-pk="2" data-url="/post" data-title="テキストの変更">テキスト</a>
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
$(function() {
|
138
|
+
|
139
|
+
$('#kubun_id').editable();
|
140
|
+
|
141
|
+
$.fn.editable.defaults.mode = 'inline';
|
142
|
+
|
143
|
+
});
|
144
|
+
|
145
|
+
<script type='text/javascript' src='/wp/wp-content/themes/skeleton/assets/js/bootstrap.min.js'></script>
|
146
|
+
|
147
|
+
</body>
|
148
|
+
|
149
|
+
</html>
|
150
|
+
|
151
|
+
```
|