vue2-premium-bbl-editor 1.2.4 → 1.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +37 -0
- package/dist/vue2-premium-bbl-editor.common.js +187 -97
- package/dist/vue2-premium-bbl-editor.common.js.map +1 -1
- package/dist/vue2-premium-bbl-editor.css +1 -1
- package/dist/vue2-premium-bbl-editor.umd.js +187 -97
- package/dist/vue2-premium-bbl-editor.umd.js.map +1 -1
- package/dist/vue2-premium-bbl-editor.umd.min.js +3 -3
- package/dist/vue2-premium-bbl-editor.umd.min.js.map +1 -1
- package/examples/fixed-upload-handler-usage.vue +113 -0
- package/examples/upload-manager-integration.vue +153 -0
- package/package.json +1 -1
- package/src/components/Modals/ImageModal.vue +54 -6
- package/src/components/PremiumBblEditor.vue +5 -0
- package/src/components/PremiumBblEditorOptionsAPI.vue +5 -0
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,43 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.2.6] - 2025-01-19
|
|
9
|
+
|
|
10
|
+
### 🐛 Bug Fixes
|
|
11
|
+
|
|
12
|
+
#### ImageModal Upload URL Fix
|
|
13
|
+
- **Fixed uploaded URL not being used**: ImageModal now correctly uses the uploaded URL from uploadHandler instead of falling back to blob URL
|
|
14
|
+
- **Improved upload logic**: Fixed condition that was checking for uploadManager when using uploadHandler
|
|
15
|
+
- **Enhanced URL insertion**: Upload results now properly insert the API-returned URL instead of local blob URL
|
|
16
|
+
- **Better upload detection**: Simplified logic to check for uploadedUrl regardless of upload method
|
|
17
|
+
|
|
18
|
+
#### Technical Improvements
|
|
19
|
+
- Fixed insertImage method to prioritize uploadedUrl over local blob URL
|
|
20
|
+
- Improved upload success detection for both uploadManager and uploadHandler workflows
|
|
21
|
+
- Enhanced debugging with clearer console logs for upload URL usage
|
|
22
|
+
|
|
23
|
+
## [1.2.5] - 2025-01-19
|
|
24
|
+
|
|
25
|
+
### 🐛 Bug Fixes
|
|
26
|
+
|
|
27
|
+
#### ImageModal Upload Handler Integration
|
|
28
|
+
- **Fixed handleApiUpload not being called**: ImageModal now properly calls upload handlers when uploadManager is not available
|
|
29
|
+
- **Added handleLegacyUpload method**: New method to support existing uploadHandler prop alongside uploadManager
|
|
30
|
+
- **Enhanced upload flow**: Files now automatically trigger upload using either uploadManager or uploadHandler
|
|
31
|
+
- **Improved backward compatibility**: Existing components using uploadHandler prop now work correctly
|
|
32
|
+
|
|
33
|
+
#### Component Enhancements
|
|
34
|
+
- **Added uploadManager prop support**: Both PremiumBblEditor and PremiumBblEditorOptionsAPI now accept uploadManager prop
|
|
35
|
+
- **Enhanced ImageModal integration**: Modal now receives and uses both uploadHandler and uploadManager props
|
|
36
|
+
- **Improved retry functionality**: Retry button now works with both upload methods
|
|
37
|
+
- **Better error handling**: Enhanced error messages and fallback mechanisms
|
|
38
|
+
|
|
39
|
+
#### Technical Improvements
|
|
40
|
+
- Fixed auto-upload trigger in ImageModal when files are selected
|
|
41
|
+
- Added proper prop passing from editor components to ImageModal
|
|
42
|
+
- Enhanced upload method detection and execution
|
|
43
|
+
- Improved upload progress tracking for both upload types
|
|
44
|
+
|
|
8
45
|
## [1.2.3] - 2025-01-19
|
|
9
46
|
|
|
10
47
|
### 🐛 Bug Fixes
|