質問編集履歴
1
追記解決策
test
CHANGED
File without changes
|
test
CHANGED
@@ -149,3 +149,25 @@
|
|
149
149
|
});
|
150
150
|
|
151
151
|
```
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
追記:こちらの方法で行けるみたいですが
|
156
|
+
|
157
|
+
できるみたいですが処理の内容がいまいちわかりません
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
```javascript
|
162
|
+
|
163
|
+
$(".text_animate").children().andSelf().contents().each(function () {
|
164
|
+
|
165
|
+
if (this.nodeType == 3) {
|
166
|
+
|
167
|
+
$(this).replaceWith($(this).text().replace(/(\S)/g, '<span>$1</span>'));
|
168
|
+
|
169
|
+
}
|
170
|
+
|
171
|
+
});
|
172
|
+
|
173
|
+
```
|